Emily,

The load balancer will route a given client's connection to a single
broker, with which your client will have all interactions.  The other
broker will not interact directly with the client, but since you say your
brokers are networked, messages can pass from a client on one broker to a
client on the other broker.

Tim
On Nov 3, 2015 12:15 AM, "Jean-Baptiste Onofré" <j...@nanthrax.net> wrote:

> Hi Emily,
>
> Let me illustrate:
> - if you use a load balancer (Cisco, Juniper, F5, ...), you will load
> balance the connections. With JMS, the messages are not directly sent via
> the connection, but via sessions inside a connection. So basically, when
> you use tcp, the same connection is used to produce or consume bunch of
> messages.
> - a network of brokers will load balance the messages.
>
> I hope it helps.
>
> Regards
> JB
>
> On 11/03/2015 06:27 AM, Emily Johnson wrote:
>
>> Hello All,
>>
>> Need clarification on working of ActiveMQ cluster.
>> When a network of brokers is created are the connectiosn also shared?
>>
>> For eg. If I make a connection with server1 can I use this object and
>> createsession on server2.
>> Will server2 know of the connection with server1.
>>
>> Regards,
>> Emily
>>
>>
>>
>> --
>> View this message in context:
>> http://activemq.2283324.n4.nabble.com/Active-MQ-cluster-behind-load-balancer-tp4703618.html
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
>>
> --
> Jean-Baptiste Onofré
> jbono...@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>

Reply via email to