Use the mqsideletebroker command to delete a named broker. The command also deletes the queues on the broker's local queue manager (created when the broker was created), and its data in the broker database. You can also specify that the queue manager is to be deleted.
Even though this command deletes all the data related to this broker from the broker database tables, it does not check if the tables are empty, nor does it delete the tables.
If you delete a broker that has WebSphere MQ publish/subscribe broker neighbors, also invoke the command clrmqbrk at each of these neighbors, specifying the WebSphere Message Broker broker that you are deleting with this command.
If the queue manager hosts another component (the Configuration Manager, or the User Name Server, or both in addition to this broker) that still exists, this command fails.
mqsideletebroker WBRK_BROKER -q
mqsideletebroker CSQ1BRK -1
Notices |
Trademarks |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
an07100_ |