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

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

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: