Suresh Rohan's Blog

This blog is all about Java, J2EE,Spring, Angular, React JS, NoSQL, Microservices, DevOps, BigData, Tutorials, Tips, Best practice, Interview questions, Views, News, Articles, Techniques, Code Samples, Reference Application and much more

Friday, October 16, 2015

Pattern: Test Message



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