jmslist_listeners

Description

Lists the names of the listeners attached to the specified message queue.

Syntax

Local mode support: No.

Command line:

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”.

Ant build file:

<jag_jmslist_listeners type=”MessageQueue:QueueName” />

Returns

Return value

Indicates

0

The command ran successfully; the result is true/success.

2

The command did not run successfully; an exception was thrown.

Examples

Example 1

This command line example lists the listeners attached to “MyQueue”:

jagtool jmslist_listeners MessageQueue:MyQueue

Example 2

This example does the same in an Ant build file:

<jag_jmslist_listeners type="MessageQueue:MyQueue" />