You can configure the publication of event messages by using the mqsichangeproperties command to set properties for the pubsub component.
You can use the mqsichangeproperties command to control which integration node event messages are published by IBM® Integration Bus, and to ensure that they are delivered to the appropriate pub/sub broker. You can also choose which of the supported transports is used for publishing the event messages. For example, you can specify they are published through an MQ pub/sub broker, the built-in MQTT pub/sub broker, an external MQTT server, or a combination of MQ and MQTT brokers. By default, all event messages except for business events are published to the built-in MQTT broker. If WebSphere® MQ is installed and a queue manager is specified on the integration node, all event messages (including business event messages) are published to the MQ pub/sub broker.
You can also control the types of event messages that are published to each type of broker; for example, you might choose to publish business event messages to an MQ pub/sub broker and all other event messages to the built-in MQTT pub/sub broker. Alternatively, you might choose to publish only operational event messages to one or more pub/sub brokers, and turn off the publication of all other event messages. For more information about the types of event in each group, see Event reports: general architecture.
Additionally, you can specify credentials to be used when you are publishing event messages to a secured MQTT server or a secured MQ pub/sub broker, by using the mqsisetdbparms command.
Follow these steps to configure the publication of event messages: