jmsprops

Description

Lists the properties for a JMS entity.

Syntax

Local mode support: No.

Command line:

jmsprops connect-args entity

Ant build file:

<jag_jmsprops entity=”entity” />

Option

Description

Required

connect-args

Arguments to specify a connection to the server. See “Using connected mode”.

Yes

entity

The entity of interest, in the form EntityType:EntityName. Valid entity types are:

  • MessageQueue

  • MessageTopic

  • QueueConnectionFactory

  • ThreadPool

  • TopicConnectionFactory

Yes

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 example lists properties for the message queue “MyQueue”:

jagtool jmsprops MessageQueue:MyQueue

Example 2

This example does the same thing in an Ant build file:

<jag_jmsprops entity="MessageQueue:MyQueue" />

See also

jmsset_props