Adds and removes selectors to and from JMS message queues.
jmsmanage_selectors connect-args -action "selector" MessageQueue:queue
<jag_manage_selectors action=”action” selector="selector" entity="MessageQueue:queue"/>
Option |
Description |
Required |
---|---|---|
connect-args |
Arguments to specify a connection to the server. See “Using connected mode”. |
Yes |
action |
|
Yes |
selector |
The JMS selector. |
Yes |
queue |
The message queue name. |
Yes |
Return value |
Indicates |
---|---|
0 |
The command ran successfully; the result is true/success. |
2 |
The command did not run successfully; an exception was thrown. |
These commands install and remove a selector topic='test'
from
the queue MyQueue:
jagtool jmsmanage_selectors -add "topic='test'" MessageQueue:MyQueue jagtool jmsmanage_listeners -remove "topic='test'" MessageQueue:MyQueue
Copyright © 2005. Sybase Inc. All rights reserved. |