public final class QpidPrintEvents extends Object implements QmfEventListener
If no broker-addr is supplied, QpidPrintEvents connects to 'localhost:5672'.
[broker-addr] syntax:
[username/password@] hostname
ip-address [:<port>]
Examples:
$ QpidPrintEvents localhost:5672
$ QpidPrintEvents 10.1.1.7:10000
$ QpidPrintEvents guest/guest@broker-host:10000
Options:
-h, --help show this help message and exit
--heartbeats Use heartbeats.
--sasl-mechanism=<mech>
SASL mechanism for authentication (e.g. EXTERNAL,
ANONYMOUS, PLAIN, CRAM-MD5, DIGEST-MD5, GSSAPI). SASL
automatically picks the most secure available
mechanism - use this option to override.
| Constructor and Description |
|---|
QpidPrintEvents(String url,
String connectionOptions)
Basic constructor.
|
public void onEvent(WorkItem wi)
onEvent in interface QmfEventListenerwi - a QMF2 WorkItem objectpublic static void main(String[] args)
args - the command line arguments.Copyright © 2006–2014 The Apache Software Foundation. All rights reserved.