Invalid Message Channel - Enterprise Integration Patterns (original) (raw)
An application is using Messaging to receive Messages.
How can a messaging receiver gracefully handle receiving a message that makes no sense?
The receiver should move the improper message to an Invalid Message Channel, a special channel for messages that could not be processed by their receivers.
When designing a messaging system for applications to use, the administrator will need to define one or more _Invalid Message Channel_s for the applications to use.
The Invalid Message Channel will not be used for normal, successful communication, so its being cluttered with improper messages will not cause a problem. An error handler that wants to diagnose improper messages can use a receiver on the invalid channel to detect messages as they become available.
...Read the entire pattern in the book Enterprise Integration Patterns
Related patterns:
Command Message, Correlation Identifier, Datatype Channel, Dead Letter Channel, Message, Message Channel, Message Sequence, Messaging, Service Activator, Messaging Gateway, JMS Request/Reply Example, .NET Request/Reply Example, Return Address
Integration Pattern Language
The Software Architect Elevator
Rethink the role of architects as a connecting element across organizational layers. Acquire the technical, communication, and organizational skills to succeed in this new role.
Cloud Strategy
Make your cloud migration a success by translating high-level goals into conscious decisions with well-understood trade-offs.
Platform Strategy
Platforms can boost innovation through harmonization, but they aren't easy to build. Learn from over a decade of designing and rolling out IT platforms.