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-2
The Command-Line Interface
you can access and manage the NSJMS environment by using any of these
commands, which are described in detail in the following pages:
Specifying Lines Per Page
You can specify the number of lines of returned output that is displayed when using the
command-line interface by specifying the Lines Per Page (-llp) argument from the
OSS shell.
The -llp argument specifies the number of lines of returned output that is displayed
by the processed command before you are prompted to display more lines. The -llp
argument default is 24 lines per page. This example specifies that 30 lines of returned
output will be displayed per page by the processed command:
osh>java com.tandem.nsjms.admin.JmsAdmin -llp 30
ADD Command
The ADD command adds a queue or topic to the database or NSJMS connection
factories to the JNDI space.
name
is the name to be associated with the queue or topic to be added to the database.
Queue names and Topic names must be Java letters and digits. The first character
must be a Java letter and the length is limited to 100 characters.
EXPIRY millisecs
specifies the time (in milliseconds) after a message is sent until the message
expires. If the EXPIRY attribute value is set to zero, a message never expires. The
ADD HELP
ALTER INFO
DELETE STATS
EXIT
ADD { QUEUE name [, EXPIRY millisecs ]
[, ID dest-id ] |
TOPIC name [, EXPIRY millisecs ]
[, ID dest-id ] |
JNDI name }