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 Manual522356-006
7-3
The Command-Line Interface
expiry attribute value is used when no timetolive value is specified during a
send message operation.
ID
specifies the location of the queue or topic in the NSJMS database.
Rules
The jndi attribute is not applicable for the NSJMS C++ API environment.
When queue or topic is specified, name is required.
When jndi is specified, name is invalid.
The expiry attribute value is used when no timetolive value is specified during
a send-message operation.
Examples
To add a new queue (named sales-queue) and set messages to expire 10
minutes after they are received:
nsjms->add queue sales-queue, expiry 600000
To add NSJMS connection factories to the JNDI space:
nsjms->add jndi
ALTER Command
The ALTER command alters the parameter of a queue or topic in the database.
name
is the name associated with an existing queue or topic whose parameters are to be
altered.
Default 0
Units milliseconds
Range 0 through 9223372036854775807
Default If no ID is specified, the ID is generated by adding one
to the current highest ID.
Range 1 through 32767
ALTER { QUEUE name {, EXPIRY millisecs } |
TOPIC name {, EXPIRY millisecs } | }