NonStop JMS User's Manual (H06.03+, J06.03+, NonStop JMS 3.0+)
Managing the NSJMS Environment
NonStop Server for Java Message Service User’s Manual—522356-006
7-5
The Command-Line Interface
*
is a wild-card character that deletes all queues, topics, messages, or subscriptions
from the database. If QUEUE or TOPIC is specified, all queues or topics and any
associated subscriptions or messages are deleted. If MESSAGE is specified, all
messages are deleted. If SUBSCRIPTION is specified, all subscriptions are
deleted.
id
is the unique ID that identifies a specific message to be deleted from the database.
queue-name
is the name of the queue from which all messages will be deleted. The queue itself
is not deleted from the database.
topic-name
is the name of the topic from which all messages will be deleted. The topic itself is
not deleted from the database.
expired
specifies that all messages that have an expiration date prior to the current date
are deleted from the database.
client-id
is the unique ID associated with an existing subscription to be deleted from the
database.
subscription-name
is the name associated with an existing subscription to be deleted from the
database.
Rules
The jndi attribute is not applicable for the NSJMS C++ API environment.
When an asterisk (*) is specified in the delete command, a confirmation message
appears before the command is run.
When deleting a queue or topic, a name or an asterisk (*) must be explicitly
specified.
When queue or topic is specified, the id attribute is invalid.
If queue-name or topic-name is specified, all messages and subscriptions
associated with the specified queue or topic are deleted.