I would suggest using a database connection pool as your datasource, like c3p0, instead of BasicDataSource.
-- View this message in context: http://activemq.2283324.n4.nabble.com/Re-More-than-10-consumers-tp4677780p4677906.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.