public final class MessageInspector extends Object
Message
s.Modifier and Type | Class and Description |
---|---|
static class |
MessageInspector.Direction
Signalizes the direction of the JMS
Message s. |
Modifier and Type | Method and Description |
---|---|
static void |
inspect(javax.jms.Message message,
MessageInspector.Direction direction)
Prints the details of the
Message as DEBUG to the Logger MessageInspector . |
static void |
inspect(javax.jms.Message message,
MessageInspector.Direction direction,
PrintStream stream)
Prints the details of the
Message into the given stream. |
public static void inspect(javax.jms.Message message, MessageInspector.Direction direction) throws javax.jms.JMSException
Message
as DEBUG to the Logger
MessageInspector
.message
- the JMS message to inspectdirection
- signalize if the message to inspect is incoming or outgoingjavax.jms.JMSException
public static void inspect(javax.jms.Message message, MessageInspector.Direction direction, PrintStream stream) throws javax.jms.JMSException
Message
into the given stream.message
- the JMS message to inspectdirection
- signalize if the message to inspect is incoming or outgoingstream
- where to print the message detailsjavax.jms.JMSException
Copyright © 2017 levigo holding gmbh. All rights reserved.