You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2012/06/16 13:54:42 UTC
[jira] [Resolved] (CAMEL-5372) Shutting down one of the contexts
breaks async redeliveries in others: RedeliveryErrorHandler has static
reference to a thread pool
[ https://issues.apache.org/jira/browse/CAMEL-5372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-5372.
--------------------------------
Resolution: Fixed
Fix Version/s: 2.10.0
2.9.3
2.8.6
Thanks for reporting and providing unit test.
I used the test and fixed the thread pool to be per camel context
> Shutting down one of the contexts breaks async redeliveries in others: RedeliveryErrorHandler has static reference to a thread pool
> -----------------------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-5372
> URL: https://issues.apache.org/jira/browse/CAMEL-5372
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 2.9.2
> Reporter: Ivan Sobolev
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 2.8.6, 2.9.3, 2.10.0
>
> Attachments: patch_redeliveries_threading_cleanup.txt
>
>
> ErrorRedeliveryHandler has static reference to a thread pool used for scheduling retries, thus when it's stopped it stops a pool used by other handler instances(e.g. from other contexts), thus they now can't redeliver.
--
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