Broker 10.5 | webMethods Broker Documentation | webMethods Broker Messaging Programmer's Guide | webMethods Messaging Administration | JMSAdmin Command Reference | JMSAdmin Command Descriptions | Bind Queue
 
Bind Queue
Adds a queue definition into a JNDI context.
Syntax
bind queue lookup-name with { queueName | qn }=broker-queue-name
[ priorityOrdering={ true | false } ]
[ { sharedState | ss }={ true | false } ]
[ { sharedStateOrdering | sso }={ none | publisher } ]
The command syntax has these parts:
Part
Description
lookup-name
Required. The name used to look up this queue in the JNDI directory.
queueName
Required. The name to give to the queue, which must meet the following criteria:
*The first character cannot be a pound sign (#).
*The name cannot contain the at sign (@), forward slash ( /), or colon (:).
*The name cannot exceed 255 bytes.
The queueName can be the same as the lookup-name. If JMS clients will send and receive messages to the queue from other Brokers in a territory, specify queueName using a fully qualified name (for example, /territoryName/brokerName/queueName).
priorityOrdering
Optional.Whether or not the queue orders messages by priority. The default value is true.
sharedState
Optional. Whether to allow multiple connections to share the same queue on the Broker. The default value is false.
If sharedState is set to true, webMethods Broker used as a JMS provider creates Broker clients as shared state clients for the queue connection.
sharedStateOrdering
Optional. The ordering of documents received on a shared state client. The default value is none.
*To receive documents in order from a publisher, set to publisher.
*To receive documents in any order, set to none.
Related Commands
Create Queue
Delete Queue
Modify Queue