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 E15FF7632 for ; Fri, 9 Dec 2011 08:36:57 +0000 (UTC) Received: (qmail 95646 invoked by uid 500); 9 Dec 2011 08:36:57 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 95612 invoked by uid 500); 9 Dec 2011 08:36:56 -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 95596 invoked by uid 99); 9 Dec 2011 08:36:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Dec 2011 08:36:53 +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: local policy) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Dec 2011 08:36:46 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1RYvwO-0004G7-NZ for users@camel.apache.org; Fri, 09 Dec 2011 00:36:24 -0800 Date: Fri, 9 Dec 2011 00:36:24 -0800 (PST) From: bvahdat To: users@camel.apache.org Message-ID: <1323419784724-5061070.post@n5.nabble.com> In-Reply-To: <4EE1C2FB.20003@gmail.com> References: <1323357765249-5059120.post@n5.nabble.com> <4EE1C2FB.20003@gmail.com> Subject: Re: using camel to call multiple web services asynchronously MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi fachhoch, the example Willem mentioned is good matching case you could consider to walk through. However in that example there's no asynchronous invocation of the banks (which's apparently what you want to have) as multicast() invokes the endpoints one after the other, so that in your case you should add parallelProcessing() into your DSL, something like: from("...").multicast().parallelProcessing().to("...", "..."); Babak -- View this message in context: http://camel.465427.n5.nabble.com/using-camel-to-call-multiple-web-services-asynchronously-tp5059120p5061070.html Sent from the Camel - Users mailing list archive at Nabble.com.