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

Persistant Dead Letter Channel to avoid memory consumption between retries

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • 3.0.0, Future
    • camel-core
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: