The Control Bus describes a number of approaches to monitor the health of the message processing system. Each component in the system can publish periodic "heartbeat" messages to the control bus in order to keep the monitoring mechanism informed that the component is still active. The heartbeat messages can contain vital stats of the component as well, such as the number of messages processed, the average time required to process a message or the percentage of CPU utilization on the machine.
What happens, though, if a component is actively processing messages, but garbles outgoing messages due to an internal fault?
Therefore, use Test Message to assure the health of message processing components (see Figure).
The Test Message pattern relies on the following components:...
Related patterns: Content-Based Router, Control Bus, Return Address, Loan Broker System Management
Find the full description of this pattern in:|
Enterprise Integration Patterns
Gregor Hohpe and Bobby Woolf
Parts of this page are available under
the Creative Commons Attribution license.
You can reuse the pattern icon, the pattern name, the problem and solution statements (in bold), and the sketch
under this license. Other portions of the text, such as text chapters or the full pattern text, are protected