Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-4575

Persistant Dead Letter Channel to avoid memory consumption between retries

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: 3.0.0, Future
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      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, ...).

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jbonofre Jean-Baptiste Onofré
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: