net.sf.xbus.tools
Class QReceiver

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

public class QReceiver
extends java.lang.Object

The QReceiver uses a QueueReceiver interface to receive messages that have been delivered to a queue and to print them together with their ordinal number on the console.


Constructor Summary
QReceiver()
           
 
Method Summary
static void main(java.lang.String[] args)
          The main method creates a JMS QueueReceiver for the given queue, receives messages that have been delivered to this queue within the specified timeout interval and prints them together with their ordinal number on the console.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QReceiver

public QReceiver()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
The main method creates a JMS QueueReceiver for the given queue, receives messages that have been delivered to this queue within the specified timeout interval and prints them together with their ordinal number on the console.

Throws:
java.lang.Exception