Return-Path: Delivered-To: apmail-activemq-camel-user-archive@locus.apache.org Received: (qmail 86283 invoked from network); 13 Jun 2008 13:14:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Jun 2008 13:14:04 -0000 Received: (qmail 29650 invoked by uid 500); 13 Jun 2008 13:14:06 -0000 Delivered-To: apmail-activemq-camel-user-archive@activemq.apache.org Received: (qmail 29632 invoked by uid 500); 13 Jun 2008 13:14:06 -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 29620 invoked by uid 99); 13 Jun 2008 13:14:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jun 2008 06:14:06 -0700 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of james.strachan@gmail.com designates 64.233.184.233 as permitted sender) Received: from [64.233.184.233] (HELO wr-out-0506.google.com) (64.233.184.233) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jun 2008 13:13:14 +0000 Received: by wr-out-0506.google.com with SMTP id 50so2446257wri.2 for ; Fri, 13 Jun 2008 06:13:32 -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=My6FBwCjwvdrpPABMRMbQaviSsloTzCfHuY1z8FF8N8=; b=RvvEN2ly9YvTrnpC0mpIp4f5vLRl8j1DT+cVEc6jWglvnw3s+yoO/W/dlAlleHfipQ RTnzq6ljEHetlW9jJkHGysTNtkTo2/hMZErM119VXVZawjZkHN+RwV+umzokAIEFpCE1 ggBrs5RExHRYPO7gk08oH/PKAORyDE9DtXeSM= 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=FQY16cUIDr3WhVRNZ5ojFAonc2uFZ8RMHHd3mOHEq7ZQ7Fp1+Lqr1ZGQ7I1bVfL+FD nTVtWEF1pemdaNZpg6RlaOrIaMfDEhaAdpuWCgpaMRbbbp5HuiA93c4CZxo+v+pCJBbK VVdf2V9TtC2gUaRnPiNwhdZhuh1QL7rmyHero= Received: by 10.90.75.13 with SMTP id x13mr2412001aga.44.1213362811016; Fri, 13 Jun 2008 06:13:31 -0700 (PDT) Received: by 10.90.82.6 with HTTP; Fri, 13 Jun 2008 06:13:30 -0700 (PDT) Message-ID: Date: Fri, 13 Jun 2008 14:13:30 +0100 From: "James Strachan" To: camel-user@activemq.apache.org Subject: Re: Object Properties - specific route In-Reply-To: <17822330.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <17822330.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Just send a blob of XML with all the information you need inside it as a single Camel message, then use content based router to route based on XPath/XQuery expressions... http://activemq.apache.org/camel/content-based-router.html 2008/6/13 Ovidius : > > Hi, > > I need to send each properties of an object to a specific route. > > Example : I have object CONTAINER with 2 properties : PART1 and PART2. > Those does not represent List or Collection. > > I receive a CONTAINER's instance. > If PART1 is not null i need to send it to ROUTE1. > If PART2 is not null i need to send it to ROUTE2. > > I need to do this in XML. > > Wich is the best approach? > > Thanks, > Ovidiu. > > > > -- > View this message in context: http://www.nabble.com/Object-Properties---specific-route-tp17822330s22882p17822330.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- James ------- http://macstrac.blogspot.com/ Open Source Integration http://open.iona.com