Lists JMS entities of the specified type.
jmslist connect-args type
<jag_jmslist type=”type” />
Where connect-args is the list of arguments to specify a connection to the server, described in “Using connected mode”, and type is one of the following JMS entity types:
Type specifier |
To list names of |
---|---|
|
Currently active message queues. |
|
Configured message queues (queues that were created administratively rather than programmatically). |
|
Currently active message topics. |
|
Configured message topics (topics that were created administratively rather than programmatically). |
|
Queue connection factories. |
|
Thread pools. |
|
Topic connection factories. |
<system> message queue and thread pool The message service includes a message queue and a thread pool called “<system>” for tasks that require internal messaging, such as synchronizing a cluster. The <system> message queue and thread pool are visible in EAServer Manager and as output from jagtool jmslist commands.
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 active JMS message queues:
jagtool jmslist ActiveMessageQueue
This example does the same in an Ant build file:
<jag_jmslist type="ActiveMessageQueue" />
Copyright © 2005. Sybase Inc. All rights reserved. |