Flushes the messages from the specified message queue.
jmsflush connect-args MessageQueue:QueueName
Where connect-args is the list of arguments to specify a connection to the server. See “Using connected mode”.
<jag_jmsflush entity=”MessageQueue:QueueName” />
Return value |
Indicates |
---|---|
0 |
The command ran successfully; the result is true/success. |
2 |
The command did not run successfully; an exception was thrown. |
This command line example flushes the message queue “MyQueue”:
jagtool jmsflush MessageQueue:MyQueue
This example does the same thing in an Ant build file:
<jag_jmsflush entity="MessageQueue:MyQueue" />
Copyright © 2005. Sybase Inc. All rights reserved. |