SOA Patterns > Service Messaging Patterns > Reliable Messaging
Reliable Messaging (Little, Rischbeck, Simon)
How can services communicate reliably when implemented in an unreliable environment?
Problem
Service communication cannot be guaranteed when using unreliable messaging protocols or when dependent on an otherwise unreliable environment.
Solution
An intermediate reliability mechanism is introduced into the inventory architecture, ensuring that message delivery is guaranteed.
Application
Middleware, service agents, and data stores are deployed to track message deliveries, manage the issuance of acknowledgements, and persist messages during failure conditions.
Impacts
Using a reliability framework adds processing overhead that can affect service activity performance. It also increases composition design complexity and may not be compatible with Atomic Service Transaction.
Principles
Architecture
Inventory, Composition
Related Patterns in This Catalog
Asynchronous Queuing, Canonical Resources, Event-Driven Messaging, Messaging Metadata, Service Agent, Service Callback, Service Messaging, State Messaging
Related Patterns in Other Catalogs
Related Service-Oriented Computing Goals