Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 48163 invoked from network); 23 May 2009 06:59:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 May 2009 06:59:03 -0000 Received: (qmail 22886 invoked by uid 500); 23 May 2009 06:59:15 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 22838 invoked by uid 500); 23 May 2009 06:59:15 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 22819 invoked by uid 500); 23 May 2009 06:59:15 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 22813 invoked by uid 99); 23 May 2009 06:59:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 May 2009 06:59:15 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 May 2009 06:59:12 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1DA3029A0015 for ; Fri, 22 May 2009 23:58:51 -0700 (PDT) Message-ID: <1061546865.1243061931119.JavaMail.jira@brutus> Date: Fri, 22 May 2009 23:58:51 -0700 (PDT) From: "Claus Ibsen (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Resolved: (CAMEL-1639) async DSL - Add support for handing over UoW - So onCompletion is also handed over In-Reply-To: <1283053705.1243022570581.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/CAMEL-1639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen resolved CAMEL-1639. -------------------------------- Resolution: Fixed trunk: 777808. The {{async}} DSL not hands over onCompletion to the async thread so it does the on completion callbacks. > async DSL - Add support for handing over UoW - So onCompletion is also handed over > ---------------------------------------------------------------------------------- > > Key: CAMEL-1639 > URL: https://issues.apache.org/activemq/browse/CAMEL-1639 > Project: Apache Camel > Issue Type: Improvement > Components: camel-core > Affects Versions: 2.0-M1 > Reporter: Claus Ibsen > Assignee: Claus Ibsen > Fix For: 2.0.0 > > > When routing using async DSL the exchange on the async thread should have the UoW synchronization jobs handed over. This allows onCompletion tasks to be preserved and also be executed when the async thread is complete. > This can be used to allow a file consumer to use a async thread pool to speed up. The thread pool can concurrently process the files and each of the threds in this pool will do the file consume commit/rollback when they finish. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.