[ https://issues.apache.org/activemq/browse/CAMEL-2262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-2262: ------------------------------- Fix Version/s: 2.4.0 (was: 2.2.0) > onCompletion DSL - Add option to select whether it should run in current > thread or async > ---------------------------------------------------------------------------------------- > > Key: CAMEL-2262 > URL: https://issues.apache.org/activemq/browse/CAMEL-2262 > Project: Apache Camel > Issue Type: Improvement > Components: camel-core > Affects Versions: 2.0.0, 2.1.0 > Reporter: Claus Ibsen > Assignee: Claus Ibsen > Priority: Minor > Fix For: 2.4.0 > > > Currently onCompletion *always* runs in a async manner as a separate task. > We should add option to offer end user to configure this behavior and either > run it > a) sync in current thread > b) async in a new thread from a thread pool > Where b will copy the Exchange and run its _own life_. And a will use > existing Exchange and run in current thread, which potentially affects the > outcome if it throws an Exception etc. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.