|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.xbus.tools.QBrowser
public class QBrowser
The QBrowser
uses a QueueBrowser
interface to
look a messages on a queue without removing them and to print them in the
specially format on the console. The browse methods return a
java.util.Enumeration that is used to scan the queue's messages. Messages may
be arriving and expiring while the scan is done. It uses following format for
messages output:
"yyyy-MM-dd HH:mm:ss,SSS message"
Constructor Summary | |
---|---|
QBrowser()
|
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 on the console in the
following format:
"yyyy-MM-dd HH:mm:ss,SSS message"
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QBrowser()
Method Detail |
---|
public static void main(java.lang.String[] args) throws java.lang.Exception
main
method creates a JMS-QueueBrowser for the given
queue and prints each message from the enumeration on the console in the
following format:
"yyyy-MM-dd HH:mm:ss,SSS message"
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |