net.sf.xbus.tools
Class QDump

java.lang.Object
  extended by net.sf.xbus.tools.QDump

public class QDump
extends java.lang.Object

The QDump uses a QueueBrowser interface to look a messages on a queue without removing them and to print them one after another on the console. The browse methods return a java.util.Enumeration that is used to scan the queue's messages. The output of the messages are separated from each other by following string:

 "||||nextMessage||||"
 


Constructor Summary
QDump()
           
 
Method Summary
static void main(java.lang.String[] args)
          The main method creates a JMS-QueueBrowser for the given queue and prints each message from the enumeration after other on the console.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QDump

public QDump()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
The main method creates a JMS-QueueBrowser for the given queue and prints each message from the enumeration after other on the console. The output of the messages are separated from each other by following string:
 "||||nextMessage||||"
 

Throws:
java.lang.Exception