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

IdempotentConsumer EIP - Add option to control if it should undo on failure or not

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.9.0
    • camel-core
    • None
    • Moderate

    Description

      We need a new option on Idempotent Consumer EIP.

      Boolean undoOnFailure

      Which should act default as "true".

      This allows end users to control that in case the Exchange failed, then the idempotent consumer should either
      keep the id in the repository, or undo adding the id (the current behavior).

      Some users have reasons for the idempotent consumer to not accept a redelivery of a previously failed exchange.

      Attachments

        1. CAMEL-4496-patch.txt
          20 kB
          Ioannis Canellos

        Activity

          People

            iocanel Ioannis Canellos
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: