cgl.narada.jms
Class JmsLogger
java.lang.Object
cgl.narada.jms.JmsLogger
- All Implemented Interfaces:
- JmsDebugFlags
public class JmsLogger
- extends Object
- implements JmsDebugFlags
This class implements a specialized logger that is used to keep a log
of the JMS messages that are published or received at a client. This is
used primarliy for debugging purposes, especially during porting
applications written based on a different JMS provider.
| Fields inherited from interface cgl.narada.jms.JmsDebugFlags |
JmsConnection_Debug, JmsDestination_Debug, JmsHeader_Debug, JmsLogger_Debug, JmsMessage_Debug, JmsObjectMessage_Debug, JmsProperties_Debug, JmsTextMessage_Debug, JmsTopic_Debug, JmsTopicAndSelectorVerifier_Debug, JmsTopicConnection_Debug, JmsTopicConnectionFactory_Debug, JmsTopicPublisher_Debug, JmsTopicSession_Debug, JmsTopicSubscriber_Debug |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JmsLogger
public JmsLogger(String logFileName)
logPublishedMessage
public void logPublishedMessage(Message jmsMessage)
logSubscription
public void logSubscription(String subscription)
logReceivedMessage
public void logReceivedMessage(Message jmsMessage)
main
public static void main(String[] args)
For comments and suggestions please send
e-mail to
The NaradaBrokering Project