cjmsicmd list dur (displaying the list of persistence subscribers)
Format
cjmsicmd list dur -d topic-name
[-b host-name : port-number]
Function
Displays the list of persistence subscribers.
Arguments
- -d topic-name
- Specifies a topic name.
- -b host-name : port-number
- Specifies the host name and the port number by delimiting them using a colon (:).
Output example
The following is an output example of cjmsicmd list dur:
- When you specify Test_Topic in a topic name:
-----------------------------------------------------------------------
Durable Sub. Name Client ID Number of Messages Durable Sub. State
-----------------------------------------------------------------------
DurableSUB1 clientID3 2998 INACTIVE
KDAN34323-I Successfully listed durable subscriptions. |
Output header
- Durable Sub. Name
- This is the name of a persistence subscriber.
- Client ID
- This is the client ID value of the persistence subscriber.
- Number of Messages
- This is the message count that is not used by the persistence subscriber.
- Durable Sub. State
- This is the used state of the persistence subscriber.
Return values
- 0:
- The command is terminated normally.
- 1:
- The command is terminated abnormally.