[
https://issues.apache.org/jira/browse/CAMEL-4575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13133618#comment-13133618
]
Jean-Baptiste Onofré commented on CAMEL-4575:
---------------------------------------------
Thanks for the explanation Claus.
I will submit a patch for trunk, agree to provide this only on 2.9.0.
> Persistant Dead Letter Channel to avoid memory consumption between retries
> --------------------------------------------------------------------------
>
> Key: CAMEL-4575
> URL: https://issues.apache.org/jira/browse/CAMEL-4575
> Project: Camel
> Issue Type: New Feature
> Components: camel-core
> Reporter: Jean-Baptiste Onofré
> Fix For: 2.8.3, 2.9.0
>
>
> When using a DeadLetterChannel, the messages are stored in memory between the
> retries (redeliveries). They are flushed from the memory only when we get the
> maximumRedeliveries value.
> It means that we can have an important memory consumption, because the
> messages are memory resident for a long time when:
> - if we have an important maximumRedeliveries, especially if we have -1
> - if we have an important redeliveryDelay
> I propose to create a PersistentDeadLetterChannel, working like the
> DeadLetterChannel, but, between redeliveries, the messages are flushed to a
> persistent store (filesystem, JMQ queue, JDBC, ...).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira