Pattern: Test Message
What happens, though, if a component is actively processing messages, but garbles outgoing messages due to an internal fault?
A simple heartbeat mechanism will not detect this error condition because it operates only at a component level and is not aware of application message formats.
Therefore, use Test Message to assure the health of message processing components.
- Test Message is considered an active monitoring mechanism.
- Inject application specific test messages
- Extract result from regular message flow
- Compare result against predefined (or computed) result
No comments:
Post a Comment