GitHub user NickUK opened a pull request:
https://github.com/apache/camel/pull/2396
Interrupt fix for messages stuck in a re-delivery loop
Now setting the Exchange.INTERRUPTED property on an exchange interrupted in
the DefaultAsyncProcessorAwaitManager. Previously an interrupted message would
just get stuck in a re-delivery loop and the RejectedExecutionException would
get overwritten.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/NickUK/camel master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/2396.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2396
----
commit 2d28eed789adda91cf1ec8c4f24682cce6e148bb
Author: Nick Horne <nick_horne_90@...>
Date: 2018-06-27T13:50:43Z
Now setting the Exchange.INTERRUPTED property on an exchange interrupted in
the DefaultAsyncProcessorAwaitManager. Previously an interrupted message would
just get stuck in any retry loop.
----
---