Hey,

I ma getting confused between 'IdleTimeout' of pooledConnectionFactory and
maxInactivityDuration. 

*IdleTimeout *: For a Connection that is in the pool but has no current
users the idle timeout determines how long the Connection can live before it
is eligible for removal from the pool.

*maxInactivityDuration*: The InactivityMonitor expects to receive data on
the connection during a specified maxInactivityDuration. If normal activemq
traffic has not been sent across the connection during that period, it
assumes there is an issue with the connection. The InactivityMonitor throws
an InactivityIOException and shuts down the transport.

-> Both has default value of 30 sec.

I am planning to increase the value of maxInactivityDuration from 30 sec to
2 mins for my ActiveMQ broker setup. I want Inactivity monitor to do the
read check per 2 mins and not close any connection before that. 
But most of my clients uses pooled Connection factory for the connections,
So should I also need to specify "IdleTimeout" in pooled Connection Factory
to 2mins ? 

Thanks,
Anuj






--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Difference-between-wireFormat-maxInactivityDuration-and-IdleTimeout-of-pooled-connection-Factory-tp4675972.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to