Configure the built-in MQTT pub/sub broker by using the mqsichangeproperties command to set the properties of MQTTServer in the pubsub component.
The built-in MQTT broker is enabled by default, and it is the default transport for the publication of events by IBM® Integration Bus, unless WebSphere® MQ is installed, as described in Publishing event messages. You can modify the configuration of the built-in MQTT broker by using the mqsichangeproperties command. Use the enabled property for the MQTTServer object in the pubsub component to enable or disable the built-in MQTT broker, and the port property to specify the port to be used by the broker. By default, the enabled property is set to true and the port is set to 11883.
mqsireportproperties IBNODE -b pubsub -o MQTTServer -n port
Follow these steps to stop and restart the built-in MQTT broker, and to change the MQTT broker port:
By default, all event groups except the BusinessEvents group are enabled for MQTT transport. The BusinessEvents group is enabled by default for the MQ pub/sub broker. The BusinessEvents group includes monitoring events. If you want to publish monitoring events to the built-in MQTT broker, you must configure the BusinessEvents group to enable MQTT publication by using the mqsichangeproperties command. For an example, and more information about how to specify a pub/sub broker for specific types of event, see Configuring the publication of event messages.