mqsiclearmqpubsub command

Supported platforms

  • Windows
  • Linux and UNIX systems
  • z/OS. Run this command by customizing and submitting the BIPCLMP utility; see Contents of the broker PDSE

Purpose

Use the mqsiclearmqpubsub command to remove an WebSphere MQ Publish/Subscribe broker as a neighbor of this WebSphere Event Broker broker.

This command removes knowledge of the WebSphere MQ Publish/Subscribe broker from the WebSphere Event Broker broker identified on this command. To complete this action you must also issue the WebSphere MQ Publish/Subscribe command clrmqbrk against the WebSphere MQ Publish/Subscribe broker. When both clear commands have completed, all publish/subscribe traffic between the two brokers ceases.

Use this command only if you are integrating this WebSphere Event Broker broker with an WebSphere MQ Publish/Subscribe broker network. Before you issue this command you must ensure that the WebSphere Event Broker broker is ready to receive and process messages on queue SYSTEM.BROKER.INTER.BROKER.COMMUNICATIONS (that is, you must restart the broker after creating this queue.)

Syntax

Parameters

BrokerName
(Required) The name of the broker from which knowledge of an WebSphere MQ Publish/Subscribe neighbor broker is to be removed.
-n NeighborQueueManagerName
(Required) The name of the queue manager that hosts the WebSphere MQ Publish/Subscribe broker for which the association as a neighbor is being removed.

Authorization

The user ID used to invoke this command must have put and inq authority to the queue SYSTEM.BROKER.INTER.BROKER.COMMUNICATIONS.

On Linux and UNIX systems, the user ID must be a member of the mqbrkrs group.

Examples

mqsiclearmqpubsub WBRK_BROKER -n MQBroker1
Related concepts
Publish/Subscribe