You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by "M.Ismail" <mo...@gmail.com> on 2010/11/30 18:09:12 UTC

MINA connection pool

Hi All, 

I need to create a MINA connection pool to send requests to 3 or 4 IP
adresses. I need to create a max of only 7 connections per IP. This question
was asked before in the MINA's forum but the answer was to use apache
commons pool
http://old.nabble.com/socket-connection-pool-in-client-application-td21896361.html#a21896361.

I think Camel must have a solution for this problem. I thought of using a
load balancer but it will only load balance among the 3 IPs and will not
handle the connection's creation and limit. any suggestions?

Thanks
-- 
View this message in context: http://camel.465427.n5.nabble.com/MINA-connection-pool-tp3286400p3286400.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: MINA connection pool

Posted by "M.Ismail" <mo...@gmail.com>.
Hi, 

I have found that there is a new feature in camel (doesn't mention which
version) that supports producer pooling. I think I can use this feature
(there is no sample code though) to create a pool of MINA producers that
connect to the same destination. Can someone please explain how to use this
feature?

Here is the link to the service pool:
http://camel.apache.org/servicepool.html

Thanks,
-- 
View this message in context: http://camel.465427.n5.nabble.com/MINA-connection-pool-tp3286400p3288420.html
Sent from the Camel - Users mailing list archive at Nabble.com.