[
https://issues.apache.org/jira/browse/SYNAPSE-618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12912858#action_12912858
]
Hiranya Jayathilaka commented on SYNAPSE-618:
---------------------------------------------
Hi Charith,
A few points to improve:
1. StoredMessage should be renamed to something more appropriate. I think
StorableMessage is a more logical name looking at how it is being used
throughout the code.
2. The package name messagestore does not sound right. I think it should be
message.store or something like that
3. The PersistenceManager in the jms package should be renamed to something
more descriptive. Howabout JMSPersistenceManager?
I'm thinking about adding the in-memory message store impl in the 2.0 release
as an experimental thing. So it would be great if you can provide a patch with
at least first 2 improvements asap.
-Hiranya
> [GSoC] Implement a Dead Letter Channel for Synapse
> --------------------------------------------------
>
> Key: SYNAPSE-618
> URL: https://issues.apache.org/jira/browse/SYNAPSE-618
> Project: Synapse
> Issue Type: New Feature
> Components: Core, Endpoints
> Reporter: Hiranya Jayathilaka
> Assignee: Hiranya Jayathilaka
> Fix For: FUTURE
>
> Attachments: messagestore_patch_1.diff, messagestore_patch_2.diff,
> messagestore_patch_3.diff, messagestore_patch_4.diff,
> messagestore_patch_5.diff, messagestore_patch_6.diff,
> messagestore_patch_7.diff, messagestore_patch_7.diff, synapse_sample_1.xml,
> synapse_sample_1.xml, synapse_sample_1.xml, synapse_sample_1.xml
>
>
> 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
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]