camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashwin Karpe <>
Subject Re: Answer multiplication/ConnectionPooling/Whats that for ?
Date Fri, 01 Jul 2011 13:19:26 GMT

You seem to be mixing concerns in your message. Connection Pooling has
nothing to do with Load Balancing.

Connection Pooling is a way to prevent constant recycling of connection
objects and thereby gaining performance and capacity in dealing with high
message throughput.

Load Balancing is entirely separate. The Broker simply dispatches messages
on a connection that has  capacity available in the consumer prefetch
against a given consumer using the connection. The broker can be directed to
spread the load (aka load balance) using a broker dispatch policy ( ) which is configured on
the broker not on a camel route consumer that uses an pooled ActiveMQ
connection factory.

Hope this helps.



Ashwin Karpe
Apache Camel Committer & Sr Principal Consultant
FUSESource (a Progress Software Corporation subsidiary) 

CamelOne 2011: 
View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message