From users-return-24388-apmail-activemq-users-archive=activemq.apache.org@activemq.apache.org Wed Jul 07 12:27:47 2010 Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 71557 invoked from network); 7 Jul 2010 12:27:46 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 Jul 2010 12:27:46 -0000 Received: (qmail 12205 invoked by uid 500); 7 Jul 2010 12:27:46 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 11945 invoked by uid 500); 7 Jul 2010 12:27:44 -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 11937 invoked by uid 99); 7 Jul 2010 12:27:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jul 2010 12:27:42 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of chubrilo@gmail.com designates 209.85.160.43 as permitted sender) Received: from [209.85.160.43] (HELO mail-pw0-f43.google.com) (209.85.160.43) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jul 2010 12:27:37 +0000 Received: by pwj6 with SMTP id 6so3674319pwj.2 for ; Wed, 07 Jul 2010 05:27:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=w2lEZ4/FBKsYJNJBEyXgScong7lOj1NHH2jrjG8prqM=; b=MEdVDKkoNOR5nIYDz5qw2dF5gWgIghnS/lxeN+l3vCponBRvM6qTSMNhTklGsT5WH9 2V15BM9A7ngUFhr+W6Af7igKs9qpGsKNyUmSEAJkGwXDd8H9QZGasOu22NHenq/FLhDx EtTtIg6m2rmdkF5pH19C7Fhm/rqR6NmVHW9fM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=e961YulKOo3Rj4J6af2oRDX/trAa9+g5e8UdF3uTuoI4vSh3rmFWMm/PmVYSQlYzCF 4HGYWTmnnbo+SSO9ey7VAiLUPKl+xnPCa1ZUCFT4XSQ6v1aKVmlYCfc+3Ip2fDeh1Yhv sotw3SubXjKW0S5rbq9IVc+XRo46U6qwJ6ya0= MIME-Version: 1.0 Received: by 10.114.36.6 with SMTP id j6mr7209339waj.158.1278505635518; Wed, 07 Jul 2010 05:27:15 -0700 (PDT) Sender: chubrilo@gmail.com Received: by 10.42.2.138 with HTTP; Wed, 7 Jul 2010 05:27:15 -0700 (PDT) In-Reply-To: <29095420.post@talk.nabble.com> References: <29095420.post@talk.nabble.com> Date: Wed, 7 Jul 2010 14:27:15 +0200 X-Google-Sender-Auth: 9Z7J5LNHoJCDpiojhnY1djvhYtY Message-ID: Subject: Re: Is there a way to duplicate incoming JMS msgs into second queue? From: Dejan Bosanac To: users@activemq.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi Ben, you can always use composite destinations to achieve this http://activemq.apache.org/composite-destinations.html Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Wed, Jul 7, 2010 at 2:22 PM, BenXS wrote: > > Is there a way to duplicate incoming JMS msgs into second queue? > > BUT: The incoming msgs should NOT be consumed from the original queue but > left in place. > So a tool like Camel is not suitable because Camel always consumes JMS msgs. > When Camel would consume such a msg and restore it later (after duplication) > into the original queue then this event would be interpreted as a new > incoming JMS msg which needs to treated as a new Camel event. > This would cause an unwanted endless loop. > > So again: Is there a duplication possible WITHOUT Camel but with ActiveMQ > build-in fetaures? > > Ben > -- > View this message in context: http://old.nabble.com/Is-there-a-way-to-duplicate-incoming-JMS-msgs-into-second-queue--tp29095420p29095420.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > >