Return-Path: Delivered-To: apmail-activemq-camel-user-archive@locus.apache.org Received: (qmail 59115 invoked from network); 21 Apr 2008 08:35:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Apr 2008 08:35:16 -0000 Received: (qmail 69674 invoked by uid 500); 21 Apr 2008 08:35:17 -0000 Delivered-To: apmail-activemq-camel-user-archive@activemq.apache.org Received: (qmail 69649 invoked by uid 500); 21 Apr 2008 08:35:17 -0000 Mailing-List: contact camel-user-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: camel-user@activemq.apache.org Delivered-To: mailing list camel-user@activemq.apache.org Received: (qmail 69640 invoked by uid 99); 21 Apr 2008 08:35:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Apr 2008 01:35:17 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of roman.kalukiewicz@gmail.com designates 64.233.184.230 as permitted sender) Received: from [64.233.184.230] (HELO wr-out-0506.google.com) (64.233.184.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Apr 2008 08:34:34 +0000 Received: by wr-out-0506.google.com with SMTP id 69so677071wri.5 for ; Mon, 21 Apr 2008 01:34:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=x5XoeA3tparJVcHcbhILpiD/WseWTmI6sKJxa1zuUt0=; b=qHaKTVaIXYOrFcKyKgywOKVwI0MPypffG5uc4pXX7qvwy5R8LorZRtTmYszGzIXMuw3ZFmfHT4pJ+EFJ3KAb06kqvOTM/T3+1EwegkIyqeJAymtYmQ+1bl3mTtXSjUld+O7jsCHMWgGgr7B6GFuRn8SGxEmXYV8WeZnVrMIAZpY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=vHz7vzsaULOXZWyKzStw7mo/UEaQrk2N1s+dJHEF1YDivhAyJ+K9QG6EeNJ5tK4Lpwm0BC8DC5dXUXyjSCCBVOd5g+XttU4Eh28kdu3BAUuu/HZhtGj4fGaErsHKJRz4Szv8OfAdP2aMX9/Vl6qAMZWtrhRk6C8o+ks9rQ0fENw= Received: by 10.142.232.20 with SMTP id e20mr1611706wfh.59.1208766884866; Mon, 21 Apr 2008 01:34:44 -0700 (PDT) Received: by 10.142.127.11 with HTTP; Mon, 21 Apr 2008 01:34:44 -0700 (PDT) Message-ID: Date: Mon, 21 Apr 2008 10:34:44 +0200 From: "Roman Kalukiewicz" To: camel-user@activemq.apache.org Subject: Re: Splitter In-Reply-To: <16804676.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <16804676.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org 2008/4/21, Ovidius : > > Hi, > > I need to send properties of an existing object to different routes. > > Ex: I have one object with two propertie : data and info > I need to send property "data" on direct:dataProcessor and > property "info" on direct:infoProcessor . > > Can i use splitter EIP for this purpose? Why don't you just set them in correct routes like: from("direct:start).multicast().to("direct:dataProcessor","direct:infoProcessor"); from("direct:dataProcessor").setBody().el("in.body.data")... from("direct:infoProcessor").setBody().el("in.body.info")... Roman