Camel
  1. Camel
  2. CAMEL-4496

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

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor 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.

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

        Activity

        Claus Ibsen created issue -
        Ioannis Canellos made changes -
        Field Original Value New Value
        Assignee Ioannis Canellos [ iocanel ]
        Ioannis Canellos made changes -
        Attachment CAMEL-4496-patch.txt [ 12496868 ]
        Ioannis Canellos made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development