activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raul Kripalani <r...@evosent.com>
Subject Re: How to create copy of one queue
Date Wed, 13 Mar 2013 22:55:34 GMT
Based on past experience, you can achieve by staying within AMQ only.

I've had success with AMQ Composite Destinations [1]. For example, this
block of configuration, all messages on queue foo will be forwarded to
queue bar, whilst keeping the original intact.

<compositeQueue name="foo" forwardOnly="false">
    <forwardTo>
        <queue physicalName="bar" />
    </forwardTo>
</compositeQueue>

Make sure you set forwardOnly=false; otherwise you won't be able to consume
from the original queue.

[1] http://activemq.apache.org/virtual-destinations.html

*Raúl Kripalani*
Apache Camel Committer
Enterprise Architect, Program Manager, Open Source Integration specialist
http://about.me/raulkripalani | http://www.linkedin.com/in/raulkripalani
http://blog.raulkr.net | twitter: @raulvk <http://twitter.com/raulvk>

On Wed, Mar 13, 2013 at 9:18 PM, blueear <blueear@gmail.com> wrote:

> Hello everybody.
>
> I need create a copy of one specified queue and send messages to another
> broker or read its by a consumer. Mirrored queues mirror all queue. Can you
> help me?
>
> Blueear.
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/How-to-create-copy-of-one-queue-tp4664682.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message