You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Dayakar <da...@gmail.com> on 2013/10/24 08:49:07 UTC

What will be best value for sessionCacheSize for Large Practices

Hi,

Previously we are using ActiveMQConnectionFactory alone, and we observed
that while starting the JBoss Server ActiveMQ is creating Multiple Threads
and closing( ActiveMQ Task 1, ActiveMQ Task 2,........), we thought it
creating Multiple Connections/Session are creating and closing.

As a resolution, we want to use CachingConnectionFactory, to configure
CachingConnectionFactory we need to assign a value to sessionCacheSize, here
is the challenge we are facing?

1) We are using Camel Routes to prepare and send Messages to Destination,we
invoke 7 Routes and each route configured with Parallel Processing (Min
Value is 5 and Max Value is 25 Threads), Daily we process around 3 Lakh
Messages.

What will be Appropriate value of sessionCacheSize for this Load (we
understood default value is 1) ?

2)if sessionCacheSize is 1, it means will it create only one session? and
from that session Multiple Queues will be created? 

Your Suggestion will help us, 



--
View this message in context: http://activemq.2283324.n4.nabble.com/What-will-be-best-value-for-sessionCacheSize-for-Large-Practices-tp4673179.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.