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 <blue...@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.
>

Reply via email to