cgl.narada.jms
Class JmsLogger

java.lang.Object
  extended by 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.


Field Summary
 
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
 
Constructor Summary
JmsLogger(String logFileName)
           
 
Method Summary
 void logPublishedMessage(Message jmsMessage)
           
 void logReceivedMessage(Message jmsMessage)
           
 void logSubscription(String subscription)
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JmsLogger

public JmsLogger(String logFileName)
Method Detail

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