| Invalid Message Channel |
Pattern Catalog | ![]() |
|
| Site Home Patterns Home Table of Contents |
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 Channels for the applications to use.
...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

For a full description of the pattern see:
![]() | Enterprise Integration Patterns
Gregor Hohpe and Bobby Woolf ISBN 0321200683 650 pages Addison-Wesley |
| Home Patterns Table of Contents |
| © 2003 Bobby Woolf All rights reserved. |