Thanks Claus. I did try it and with Camel debug logging on I expected to see
the message 

    LOG.debug("Removed from repository as exchange failed: {} with id: {}",
exchange, messageId);

from the org.apache.camel.processor.idempotent.IdempotentOnCompletion class
and indeed the entry is not being removed from the camel_messageprocessed
table.

Does the error have to occur within the idempotentConsumer element? If so
then I assume that the camel_messageprocessed entry is already committed and
I have to delete the entry myself in my exception handler?



--
View this message in context: 
http://camel.465427.n5.nabble.com/Idempotent-consumer-removeOnFailure-true-and-exception-handling-tp5756198p5756231.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to