Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 20036 invoked from network); 17 Mar 2009 15:02:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Mar 2009 15:02:26 -0000 Received: (qmail 51773 invoked by uid 500); 17 Mar 2009 15:02:25 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 51754 invoked by uid 500); 17 Mar 2009 15:02:24 -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 51743 invoked by uid 99); 17 Mar 2009 15:02:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Mar 2009 08:02:24 -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 209.85.218.159 as permitted sender) Received: from [209.85.218.159] (HELO mail-bw0-f159.google.com) (209.85.218.159) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Mar 2009 15:02:15 +0000 Received: by bwz3 with SMTP id 3so116892bwz.38 for ; Tue, 17 Mar 2009 08:01:54 -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=tTSzWzcUKmWApCgYqf/H+H8RPcriDcnDl082q5RxH08=; b=tHZVR1f0lDw3aeCfz82hOogrH9xvUiTxguikbOcJuThJpuYQqDKKWWEaXXDhxsZ3TI B3v7eCMob9VNXGoiJBLNe5rHhP8ErLHEFTtmV4i+8ljrUugunKNtbUbT/wYlMDp2/pFV qR4yQkIgQeXVH1bac0ApQmqm2QkDyiSB9aHbY= 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=F4k0VMz1Kx3ZyEjt49L+MBiX7YFM1cJqi5j6BVy/5FsZ/m9NsSNdBgY+cRwS9vDeqD /Znt5xow8KTAYT0XpyzRniGLhtrW4UiWVXEcBbBsCGfGYN8fXiawrV/KUcTQcX9e+EQe uu7jNt5YsBOcmtiu3kblaxVh7IrN09FI0Xt4g= MIME-Version: 1.0 Received: by 10.223.111.134 with SMTP id s6mr102219fap.37.1237302114837; Tue, 17 Mar 2009 08:01:54 -0700 (PDT) In-Reply-To: <22560854.post@talk.nabble.com> References: <22554890.post@talk.nabble.com> <22559812.post@talk.nabble.com> <22560854.post@talk.nabble.com> Date: Tue, 17 Mar 2009 15:01:54 +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 have 2 restrictions: > > 1. The routing must be done server side > 2. The routing depends on the body, not on the header or some property Both of those are fine - just include the content based router inside the broker process. ActiveMQ can easily host Camel routes by just including the route definition in the activemq.xml. Have a look at the in the activemq.xml in the binary distro of ActiveMQ to see an example route. -- James ------- http://macstrac.blogspot.com/ Open Source Integration http://fusesource.com/