ActiveMq composite queues

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

ActiveMq composite queues

mansi
Do composite queues allow to forwardTo to another ActiveMQ broker instances? Or it just allow to forwardTo queues in the same Broker instance.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: ActiveMq composite queues

Tim Bain
I've always believed that they had to be in the local broker, though I've
never used them so I don't have firsthand confirmation of that. But sending
directly to an external broker without storing the message in a local
destination would be a significant departure from the store-and-forward
model that ActiveMQ 5.x uses, so it seems unlikely that it works that way.

Of course, you can set up the composite destination to write to a local
destination and then use a networkConnector to forward the message to the
other broker, so you can get the end result you're looking for, at the cost
of a little disk I/O.

Tim

On Jul 25, 2017 7:49 AM, "mansi" <[hidden email]> wrote:

> Do composite queues allow to forwardTo to another ActiveMQ broker
> instances?
> Or it just allow to forwardTo queues in the same Broker instance.
>
>
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.
> nabble.com/ActiveMq-composite-queues-tp4728865.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: ActiveMq composite queues

mansi
This post was updated on .
Does network connector allow forwarding to another Broker hosted in different environments?

Let's say I have one broker A on Azure cloud and another broker B one hosted on my company premises. So with this will network connector allow forward from A to B?


If yes, can you please share xml config for the same?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: ActiveMq composite queues

Tim Bain
Yes, as long as you can actually make the connection (i.e. the IP is
routeable, firewalls don't block traffic, etc.) and you configure the
network connector properly. Network connectors allow messages to be passed
among brokers within a Network of Brokers, no matter where the brokers are
hosted. So if you can network the brokers in the first place, you can pass
messages among them.

Tim

On Aug 11, 2017 7:04 AM, "mansi" <[hidden email]> wrote:

> Network connector allows forwarding to another Broker hosted in different
> environments.
>
> Let's say I have one broker A on Azure cloud and another broker B one
> hosted
> on my company premises. So in this will network connector, allow forward to
> from A to B?
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.
> nabble.com/ActiveMq-composite-queues-tp4728865p4729628.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: ActiveMq composite queues

mansi
Thanks.Will give it a try.
Loading...