activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Qian Su <...@linkedin.com>
Subject Producer connection expiration
Date Mon, 03 Mar 2008 23:57:15 GMT

Hi, 

We are using Activemq version 4.1.1, tcp transport and the producers are
configured to connect to a single load balancer that distributes requests to
individual brokers. However, more often than not, we notice symptons where
jms messge queuing requests are not probably load balanced, mainly after
certain OPS operations that took certain brokers out of rotation for
maintenance, upgrade, etc. Connections got switched to remaining smaller set
of brokers and stayed sticky with them.

In order to resume proper load balancing after a situation like mentioned
above, one approach we thought about is to set producers to recycle
connections after they have been in use for a while such that further
connection requests can be forwarded to brokers new in the rotation.  Is
there such a config parameter for producers?  

I found in activemq 3.0 documentation
(http://activemq.apache.org/activemq-3-transport-configurations.html) that
there is a configuration named "establishConnectionTimeout".  Is this what
we need? 

Thanks,
Qian



-- 
View this message in context: http://www.nabble.com/Producer-connection-expiration-tp15817207s2354p15817207.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message