public class QueueInformation extends Object
Constructor and Description |
---|
QueueInformation() |
Modifier and Type | Method and Description |
---|---|
static ObjectName[] |
getMatchingObjects(Set<String> queueNames) |
static void |
main(String[] args)
Params:
|
public static void main(String[] args) throws Exception
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=<csv attribute list> , queue=<csv queue list>
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.
Exception
public static ObjectName[] getMatchingObjects(Set<String> queueNames) throws IOException, MalformedObjectNameException
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.