Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 80587 invoked from network); 18 Mar 2009 09:45:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Mar 2009 09:45:39 -0000 Received: (qmail 30893 invoked by uid 500); 18 Mar 2009 09:45:38 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 30869 invoked by uid 500); 18 Mar 2009 09:45:38 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 30840 invoked by uid 99); 18 Mar 2009 09:45:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Mar 2009 02:45:38 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of james.strachan@gmail.com designates 74.125.78.148 as permitted sender) Received: from [74.125.78.148] (HELO ey-out-1920.google.com) (74.125.78.148) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Mar 2009 09:45:28 +0000 Received: by ey-out-1920.google.com with SMTP id 5so72195eyb.26 for ; Wed, 18 Mar 2009 02:45:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=Gp5c9/K4KNU/r5/08Ih7cXqL2KpjDOsrRSKkt96c8lk=; b=nUDVrU4WSjvMifE6AWxLWonl7vf2Oec92pNvdQQWo2t3IDuRgtz3TpMXhF+c4xxZ8C swH85KSNS4TKk85Y0VRZXsf19B8giU9thGmttUfXZ7RgrtXPyCP9s1YP8kXs+1dqi275 ehCoogwhZvWNL2r1KWwr96J9Yc7OSon1mBlms= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=BAgbgBNckHRhVYk+3mm+1AzVuzHFpNHC6X6jMPYdLtr8R5rBOvRTm2hEYgKafnIvSt vLYF/zFV0B7QVQINkqeS7LGF7WAAK1wJQ07DGyF0ImTSMyYy/HvLkPvOORWRsmnh+RBM 8wFMxGsPdPrHyoqdt8CaVnNSUhaZjlSjv92K4= MIME-Version: 1.0 Received: by 10.210.54.19 with SMTP id c19mr809324eba.49.1237369508022; Wed, 18 Mar 2009 02:45:08 -0700 (PDT) In-Reply-To: <22567634.post@talk.nabble.com> References: <22554890.post@talk.nabble.com> <22559812.post@talk.nabble.com> <22560854.post@talk.nabble.com> <22567634.post@talk.nabble.com> Date: Wed, 18 Mar 2009 09:45:07 +0000 Message-ID: Subject: Re: Change Message Destination using Interceptors From: James Strachan To: users@activemq.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 2009/3/17 DanielR : > > I can't get it working... any examples would be nice please Here's a bunch of examples... http://camel.apache.org/examples.html The spring XQuery example might be a good start... http://camel.apache.org/spring-xquery-example.html you might find its easier to write your predicate using Java http://camel.apache.org/bean-language.html rather than one of the available expression languages... http://camel.apache.org/languages.html See the example route on the bean language page http://camel.apache.org/bean-language.html -- James ------- http://macstrac.blogspot.com/ Open Source Integration http://fusesource.com/