[ https://issues.apache.org/jira/browse/CAMEL-4496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13116262#comment-13116262 ]
Charles Moulliard commented on CAMEL-4496: ------------------------------------------ A better name for this option could be "removeOnFailure" as the idea is to remove (or not) the exchange from the cache of the idempotentConsumer > 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 > Priority: Minor > Fix For: 2.9.0 > > > 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