Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2052C925B for ; Tue, 28 Feb 2012 14:24:09 +0000 (UTC) Received: (qmail 40957 invoked by uid 500); 28 Feb 2012 14:24:08 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 40891 invoked by uid 500); 28 Feb 2012 14:24:08 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 40753 invoked by uid 99); 28 Feb 2012 14:24:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Feb 2012 14:24:08 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 216.139.236.26 is neither permitted nor denied by domain of chpache@gmail.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Feb 2012 14:24:01 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1S2Nxt-0004ef-5l for users@camel.apache.org; Tue, 28 Feb 2012 06:23:41 -0800 Date: Tue, 28 Feb 2012 06:23:41 -0800 (PST) From: Babel To: users@camel.apache.org Message-ID: <1330439021172-5521960.post@n5.nabble.com> Subject: InOut with asyncProcessor seems not to wait for completion MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hello everyone I'm trying to get asynchronous processing in my component and got some difficulties, I followed the tutorial on http://camel.apache.org/asynchronous-processing.html. In my test from(myprotocl:endpoint).to(myprotocol:endpoint?exchangePattern=InOut) the asynchronous process method is loaded but the consumer receives the exchange without the producer modifications unless I wait a little bit after the processor.process call (in the consumer). Do I need to wait on some exchange modification? (As I do not get the AsynchCallback in the consumer)? Any help would be really welcome! Thanks Christophe -- View this message in context: http://camel.465427.n5.nabble.com/InOut-with-asyncProcessor-seems-not-to-wait-for-completion-tp5521960p5521960.html Sent from the Camel - Users mailing list archive at Nabble.com.