You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Peter Hicks <pe...@gmail.com> on 2012/06/28 18:14:56 UTC
Bridging two brokers with Stomp
All,
I have access to an ActiveMQ-hosted service publishing its data through Stomp. There are five topics, and I want to subscribe to all five and re-queue messages in persistent topics on my side, such that I can have multiple subscribers internally accessing the data.
From the documentation, I can see how to do this with JMS, but not through Stomp.
Is this actually possible with ActiveMQ, and if so, can anyone point me at an example I can modify for my own needs?
Peter
Re: Bridging two brokers with Stomp
Posted by Gary Tully <ga...@gmail.com>.
Your best bet would be a camel route using a composite destination in
the from and your topic in the too, or even using a virtual topic in
the too.
There is no official stomp camel component but you could try
https://github.com/pedroteixeira/camel-stomp
or failing that have a peek at https://github.com/fusesource/stompjms
and plug it into the camel jms component or use it as inspiration to
improve camel-stomp
On 28 June 2012 17:14, Peter Hicks <pe...@gmail.com> wrote:
> All,
>
> I have access to an ActiveMQ-hosted service publishing its data through Stomp. There are five topics, and I want to subscribe to all five and re-queue messages in persistent topics on my side, such that I can have multiple subscribers internally accessing the data.
>
> From the documentation, I can see how to do this with JMS, but not through Stomp.
>
> Is this actually possible with ActiveMQ, and if so, can anyone point me at an example I can modify for my own needs?
>
>
> Peter
>
--
http://fusesource.com
http://blog.garytully.com