From users-return-16250-apmail-activemq-users-archive=activemq.apache.org@activemq.apache.org Wed Oct 01 02:53:40 2008 Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 34570 invoked from network); 1 Oct 2008 02:53:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Oct 2008 02:53:40 -0000 Received: (qmail 26395 invoked by uid 500); 1 Oct 2008 02:53:38 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 26378 invoked by uid 500); 1 Oct 2008 02:53: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 26367 invoked by uid 99); 1 Oct 2008 02:53:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Sep 2008 19:53: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 (athena.apache.org: domain of bruce.snyder@gmail.com designates 209.85.217.15 as permitted sender) Received: from [209.85.217.15] (HELO mail-gx0-f15.google.com) (209.85.217.15) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2008 02:52:33 +0000 Received: by gxk8 with SMTP id 8so12132932gxk.14 for ; Tue, 30 Sep 2008 19:52:07 -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=HG6lpuiDTVAJ+2HEZECb1xtoDXMDOSbpoF31VRN1oBE=; b=qw/AUGLMWqrLYyX86DzWlEMXfVYTk+k1DaEAKqTj4hRV+yYSPEGNJU9PI51eTE0r+8 gBRvHWnoS6yEnc9A5UNBRrj0lde9+gRiURDzXYNR2ubtDgRT/s59REHMxWOG36c47kOJ QUWYZGLXU1e3pynF/a5LDeRYourx5CbkUE2TY= 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=GfTBhFLjaKnsIrzeb32dibqlEPg7GEK6WnIdtvoreQIdpO/qk+OW0bJRjgdR5tFHYn QqFSmx2nHGxkcj4S/ulgLr6LduoCrb50rPOsRA1me/yAcsrGgR3yx+AFogJ4S9Lf9LCA cNO/bKgWEXpEuylqTu/iUqZl/ylZjeDqPIimA= Received: by 10.100.171.16 with SMTP id t16mr7158515ane.158.1222829527086; Tue, 30 Sep 2008 19:52:07 -0700 (PDT) Received: by 10.100.44.19 with HTTP; Tue, 30 Sep 2008 19:52:06 -0700 (PDT) Message-ID: <7b3355cb0809301952t77f009e9t4ce8f63c756ac494@mail.gmail.com> Date: Tue, 30 Sep 2008 20:52:06 -0600 From: "Bruce Snyder" To: users@activemq.apache.org Subject: Re: message forwarding In-Reply-To: <19753485.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <19753485.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org On Tue, Sep 30, 2008 at 8:14 PM, devdev wrote: > > HI all, > > I am looking for writing a feature to forward messages in a given queue to > other queues/topics. Instead of creating a process that listen on the queue > (as consumer) and put the messages in other queues (as publisher) is it more > appropriate to use a plugin or interceptor to host this functionality? It would be more appropriate to use Camel for this feature. When you download ActiveMQ 5.1, check out the configuration example in conf/activemq.xml and look at the element. It demonstrates how to move messages from one queue or topic to another queue or topic. More information is available here: http://activemq.apache.org/camel/jms.html Bruce -- perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E