Determining when a message flow has failed

This scenario describes how you can use the WebSphere® Message Broker Monitoring Agent to determine when a message flow has failed and to notify you of a failure in a message flow.

To determine when a message flow has failed, do the following steps so that the WebSphere Message Broker Monitoring Agent can gather the appropriate statistics:

  1. Place CandleMonitor nodes after failure terminals for processing nodes in the message flow.
  2. Set the type attribute of these CandleMonitor nodes to other.
  3. Describe the failures in a meaningful way in the eventMessage attribute of the CandleMonitor nodes.
  4. Start the WebSphere Message Broker Monitoring Agent again.

After you have positioned the CandleMonitor nodes and the WebSphere Message Broker Monitoring Agent is running, do the following steps:

  1. Define situations for message flow events so that an alert is raised each time a message flows down a path that is failing.
  2. Deploy the situations that you define in the previous step to the system on which the monitored message flow is running.
  3. Open the Monitor Node Events workspace/Message Flow Events workspace to see data about the message being processed when the events that you define occur.