Nick Horne created CAMEL-12603:
----------------------------------
Summary: Thread stuck in re-delivery loop after interrupting it
Key: CAMEL-12603
URL: https://issues.apache.org/jira/browse/CAMEL-12603
Project: Camel
Issue Type: Bug
Components: camel-core
Reporter: Nick Horne
I have experienced an issue where we could not cancel a message stuck in a
re-delivery cycle. I was using Jolokia and calling the interrupt method on the
DefaultAsyncProcessorAwaitManager for the blocked exchange and I had expected
the re-delivery cycle to stop.
The mapping does get removed from the in-flight messages but the message
continues to get processed in the background.
The RejectedExecutionException set by the interrupt is also overwritten by the
exception thrown by our failing bean.
This is an issue if you have configured a long re-delivery cycle and you have a
message retrying that you know will never succeed.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)