activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dayakar <>
Subject What will be best value for sessionCacheSize for Large Practices
Date Thu, 24 Oct 2013 06:49:07 GMT

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

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:
Sent from the ActiveMQ - User mailing list archive at

View raw message