Lists the names of the listeners attached to the specified message queue.
jmslist_listeners connect-args MessageQueue:QueueName
Where connect-args is the list of arguments to specify a connection to the server. See “Using connected mode”.
<jag_jmslist_listeners type=”MessageQueue:QueueName” />
Return value |
Indicates |
---|---|
0 |
The command ran successfully; the result is true/success. |
2 |
The command did not run successfully; an exception was thrown. |
This command line example lists the listeners attached to “MyQueue”:
jagtool jmslist_listeners MessageQueue:MyQueue
This example does the same in an Ant build file:
<jag_jmslist_listeners type="MessageQueue:MyQueue" />
Copyright © 2005. Sybase Inc. All rights reserved. |