End MQ Pub/Sub Broker (ENDMQMBRK)
- Where allowed to run
- All environments (*ALL)
- Threadsafe
- Yes
The End IBM MQ Broker (ENDMQMBRK) command is used to stop a broker.
Parameters
Keyword | Description | Choices | Notes |
---|---|---|---|
MQMNAME | Message Queue Manager name | Character value | Required, Positional 1 |
OPTION | Option | *CNTRLD, *IMMED | Optional, Positional 2 |
Message Queue Manager name (MQMNAME)
Specifies the name of the queue manager.
- queue-manager-name
- Specify the name of the queue manager.
Option (OPTION)
Specifies how the broker is ended.
The possible values are:
- *CNTRLD
- Allows the broker to complete processing for any message that it has already started.
- *IMMED
- Ends the broker immediately. The broker does not attempt any further gets or puts, and backs out any in-flight units-of-work. This might mean that a nonpersistent input message is published only to a subset of subscribers, or lost, depending on the broker configuration parameters.
Examples
None
Error messages
Unknown