You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by BenXS <bx...@yahoo.co.uk> on 2010/07/07 14:22:00 UTC
Is there a way to duplicate incoming JMS msgs into second queue?
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.
Re: Is there a way to duplicate incoming JMS msgs into second queue?
Posted by Dejan Bosanac <de...@nighttale.net>.
Yup, take a look at
http://activemq.apache.org/virtual-destinations.html#VirtualDestinations-CompositeDestinations
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:56 PM, BenXS <bx...@yahoo.co.uk> wrote:
>
> Ok, but this would require changes at the producer side.
>
> I need a solution where the source code on the producer side will be
> untouched.
>
> If a JMS mesgs arrives in ActiveMQ it should be duplicated INSIDE ActiveMQ
>
> Is this possible?
>
>
> Dejan Bosanac wrote:
>>
>> you can always use composite destinations to achieve this
>>
>> http://activemq.apache.org/composite-destinations.html
>>
>
> --
> View this message in context: http://old.nabble.com/Is-there-a-way-to-duplicate-incoming-JMS-msgs-into-second-queue--tp29095420p29095766.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>
Re: Is there a way to duplicate incoming JMS msgs into second queue?
Posted by Tracy Snell <ts...@gmail.com>.
Use a mirrored queue and have a camel route subscribe to the virtual topic.
http://activemq.apache.org/mirrored-queues.html
On Jul 7, 2010, at 8:56 AM, BenXS wrote:
>
> Ok, but this would require changes at the producer side.
>
> I need a solution where the source code on the producer side will be
> untouched.
>
> If a JMS mesgs arrives in ActiveMQ it should be duplicated INSIDE ActiveMQ
>
> Is this possible?
>
>
> Dejan Bosanac wrote:
>>
>> you can always use composite destinations to achieve this
>>
>> http://activemq.apache.org/composite-destinations.html
>>
>
> --
> View this message in context: http://old.nabble.com/Is-there-a-way-to-duplicate-incoming-JMS-msgs-into-second-queue--tp29095420p29095766.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
Re: Is there a way to duplicate incoming JMS msgs into second
queue?
Posted by BenXS <bx...@yahoo.co.uk>.
Ok, but this would require changes at the producer side.
I need a solution where the source code on the producer side will be
untouched.
If a JMS mesgs arrives in ActiveMQ it should be duplicated INSIDE ActiveMQ
Is this possible?
Dejan Bosanac wrote:
>
> you can always use composite destinations to achieve this
>
> http://activemq.apache.org/composite-destinations.html
>
--
View this message in context: http://old.nabble.com/Is-there-a-way-to-duplicate-incoming-JMS-msgs-into-second-queue--tp29095420p29095766.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Is there a way to duplicate incoming JMS msgs into second queue?
Posted by Dejan Bosanac <de...@nighttale.net>.
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 <bx...@yahoo.co.uk> 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.
>
>