cjmsicmd purge dst (deleting the physical destination messages)

Format

cjmsicmd purge dst  -t destination-type
                   -n destination-name
                  [-b host-name : port-number]

Function

Deletes all the messages from a physical destination.

Arguments

-t destination-type
Specifies a destination type. You can specify the following destination types:
  • q : Queue
  • t: Topic
-n destination-name
Specifies the destination name.
-b host-name : port-number
Specifies the host name and the port number by delimiting them using a colon (:).

Return values

0:
The command is terminated normally.
1:
The command is terminated abnormally.