This subsection lists and describes the commands of the command utility as per the managed items. Note that when the status of the CJMSP broker is SHUTDOWN_COMPLETE (status where termination process is completed), these commands do not operate normally.
Table 5-2 List of commands used in the CJMSP Broker management
Command name | Description |
---|---|
cjmsicmd list bkr | Lists and displays the status of CJMSP Broker. |
cjmsicmd pause bkr | Temporarily stops the running CJMSP Broker. |
cjmsicmd query bkr | Lists and displays the property value of CJMSP Broker. |
cjmsicmd resume bkr | Resumes CJMSP Broker. |
cjmsicmd shutdown bkr | Stops CJMSP Broker. |
Table 5-3 List of commands used in the connection service management
Command name | Description |
---|---|
cjmsicmd list svc | Lists and displays the usable connection services. |
Table 5-4 List of commands used in the physical destination management
Command name | Description |
---|---|
cjmsicmd compact dst | Compresses physical destinations. |
cjmsicmd create dst | Creates a physical destination. |
cjmsicmd destroy dst | Destroys the physical destination. |
cjmsicmd list dst | Lists and displays the physical destination. |
cjmsicmd pause dst | Temporarily stops the message delivery to physical destination. |
cjmsicmd purge dst | Deletes all the messages from physical destination. |
cjmsicmd query dst | Lists and displays the property values of physical destination. |
cjmsicmd resume dst | Resumes the message delivery to physical destination. |
Table 5-5 List of commands used in the persistence subscriber management
Command name | Description |
---|---|
cjmsicmd destroy dur | Destroys persistence subscriber. |
cjmsicmd list dur | Lists and displays the persistence subscriber. |
cjmsicmd purge dur | Deletes all the messages of persistence subscriber. |
There are some common options that you can specify in all commands with the command utility. The following table lists and describes the common options of the command utility:
Table 5-6 List of common options of the command utility
Option name | Description |
---|---|
-rtm timeoutInterval | Specifies an initial value of the timeout interval (unit: seconds) as an integer from 0 to 2147483647. The initial value is the time for which you wait for a response from the CJMSP Broker after executing a command until the request is sent again. The retry interval is set up in multiples of the initial value of the timeout interval. The default value is 10 seconds. Also, if you specify 0, a timeout does not occur. |
-b host-name:port-number | Specifies the host name (or IP address) and the port number connected to CJMSP Broker. The default value is as follows:
If you specify only the port number and omit the host name, CJMSP Broker of the local host is connected. For example, when you specify :7676 has the same meaning when you specify localhost:7676. |
-f | Executes the command without a confirmation from the user. |
-h | -help | Displays help. |