org.apache.qpid.example.jmxexample
Class QueueInformation
java.lang.Object
org.apache.qpid.example.jmxexample.QueueInformation
public class QueueInformation
- extends Object
Connects to a server and queries all info for Queues
Includes _tmp queues thus covering queues underlying topic subscriptions
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueueInformation
public QueueInformation()
main
public static void main(String[] args)
throws Exception
- Params:
0: host, e.g. eqd-myserver.mydomain.com
1: port, e.g. 8999
2: vhost e.g. dev-only
3: username, e.g. guest
4: pwd, e.g. guest
5: loop pause, no value indicates one-off, any other value is millisecs
..: attributes= , queue=
The queue list can use wildcards such as * and ?. Basically any value
that JMX will accept in the query string for t name='' value of the queue.
- Throws:
Exception
getMatchingObjects
public static ObjectName[] getMatchingObjects()
throws IOException,
MalformedObjectNameException
- Throws:
IOException
MalformedObjectNameException
Licensed to the Apache Software Foundation