You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2010/01/07 14:27:17 UTC

[jira] Resolved: (CAMEL-2262) onCompletion DSL - Add option to select whether it should run in current thread or async

     [ https://issues.apache.org/activemq/browse/CAMEL-2262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-2262.
--------------------------------

    Resolution: Won't Fix

onCompletion is meant for additional work after the original Exchange has completed

> 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.2.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.