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 5536810D7D for ; Sat, 22 Mar 2014 07:57:50 +0000 (UTC) Received: (qmail 39490 invoked by uid 500); 22 Mar 2014 07:57:48 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 39442 invoked by uid 500); 22 Mar 2014 07:57:48 -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 39431 invoked by uid 99); 22 Mar 2014 07:57:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Mar 2014 07:57:45 +0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of manish.karki@gmail.com does not designate 216.139.236.26 as permitted sender) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Mar 2014 07:57:40 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1WRGnw-0000rY-Bd for users@camel.apache.org; Sat, 22 Mar 2014 00:57:20 -0700 Date: Sat, 22 Mar 2014 00:57:20 -0700 (PDT) From: manishk To: users@camel.apache.org Message-ID: <1395475040350-5749237.post@n5.nabble.com> In-Reply-To: References: <1395420604192-5749208.post@n5.nabble.com> Subject: Re: spawning exchanges from the processor MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Thanks Claus for the reply, I am retrieving the list from a Camel bean and has values something like "targetA","targetB"..."targetN". For each of these targets I need not to spawn new exchanges (after setting this in the message body and header) and send them to the same seda endpoint. Each new exchange will correspond to a target. The code is setting the property correctly in a loop and spawning a new exchange each time. I forgot to mention that when connect a debugger from the IDE (intellij) the issue is not reproduced. I was wondering is it because of the delay that is added by the debugger? -- View this message in context: http://camel.465427.n5.nabble.com/spawning-exchanges-from-the-processor-tp5749208p5749237.html Sent from the Camel - Users mailing list archive at Nabble.com.