Broker 10.5 | webMethods Broker Documentation | webMethods Broker Messaging Programmer's Guide | webMethods Messaging Administration | JMSAdmin Command Reference | JMSAdmin Command Descriptions | Modify Queue
 
Modify Queue
Changes the properties of an existing queue definition.
Syntax
modify 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
queue
Required. The name of the JNDI directory in which to bind this queue.
queueName
Required. The name to give to the queue, which must meet the following criteria:
*The first character cannot be a pound sign (#).
*The names cannot contain the at sign (@), forward slash ( /), or colon (:).
*The names cannot exceed 255 bytes.
priorityOrdering
Optional.Whether or not the queue orders messages by priority. The default value is true.
sharedState
Optional. Whether to allow multiple queue receivers to concurrently read from the queue. The default value is false.
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.
Example
Change the value of the sharedState property for the queue bound to NetAdmin:
\> modify queue nNetAdmin with qn=NetAdmin ss=true sso=none
Related Commands
Create Queue
Delete Queue