Description
Currently when Synapse attempts to send a message and if it fails, following actions can be configured to deal with the error:
- Execute a fault sequence and handle the failed request gracefully
- Fail-over to a different endpoint
In addition to these, Synapse ESB should support the "dead letter channel" enterprise integration pattern to deal with various errors that might occur during mediation or while sending. With the dead letter channel, the failed message will be put into a message store in the ESB. Later the ESB can retry to send the messages in the message store.
We should be able to have multiple implementations of the actual message store and should be able to configure which store to use for a particular scenario. Users should be able to implement their own message stores and plug into the ESB easily. To start with we can have a simple in-memory message store and a persisting store based on JDBC or JMS.
References:
http://www.eaipatterns.com/DeadLetterChannel.html
https://issues.apache.org/jira/browse/SYNAPSE-263
Possible Mentors:
Hiranya Jayathilaka
Attachments
Attachments
Issue Links
- incorporates
-
SYNAPSE-263 Implementing a message store/ message redelivery
- Closed