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:
- Place CandleMonitor nodes after failure terminals for processing nodes in the message flow.
- Set the type attribute of these CandleMonitor nodes to other.
- Describe the failures in a meaningful way in the eventMessage attribute of the CandleMonitor nodes.
- 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:
- Define situations for message flow events so that an alert is raised each time a message flows down a path that is failing.
- Deploy the situations that you define in the previous step to the system on which the monitored message flow is running.
- 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.