[ 
https://issues.apache.org/jira/browse/CAMEL-4496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ioannis Canellos updated CAMEL-4496:
------------------------------------

    Attachment: CAMEL-4496-patch.txt

I am attaching a patch, which adds the property removeOnFailure on the 
idempotent consumer. Also adds a unit test in camel-core and camel-spring to 
test the use of the property from java dsl and spring.
                
> IdempotentConsumer EIP - Add option to control if it should undo on failure 
> or not
> ----------------------------------------------------------------------------------
>
>                 Key: CAMEL-4496
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4496
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Ioannis Canellos
>            Priority: Minor
>             Fix For: 2.9.0
>
>         Attachments: CAMEL-4496-patch.txt
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to