Configuring monitoring for message flows

You can configure your message flow to emit event messages that can be used to support transaction monitoring and auditing, and business process monitoring.

Before you begin

About this task

Note: Monitoring messages are published to IBM MQ pub/sub brokers by using the persistent as topic option. Publications resolve to be nonpersistent by default, but you can change a publication to be persistent by configuring named topics in IBM MQ. For more information, see the Subscriptions and message persistence topic in the IBM MQ product documentation online.

Monitoring messages are published to MQTT brokers as nonpersistent by default. However, subscribers to MQTT brokers specify the maximum quality of service (QoS) that they require, which determines whether the message is delivered only once or more than once, and whether a confirmation of receipt is required. For more information, see http://mosquitto.org/man/mqtt-7.html.

To receive monitoring events, complete the following tasks.

Procedure

  1. Configure event sources on the flow by using either monitoring properties or a monitoring profile.
  2. Enable event sources by using the monitoring properties on the node.
  3. Ensure that event publication for monitoring messages is enabled and is correctly configured.
  4. Subscribe to the topic for the flow; see Subscribing to event message topics.
  5. Optional: Optionally, you can collect monitoring messages for all message flows in a server as described in Collecting monitoring messages for all message flows in a server.