activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From io42 <>
Subject Using the PooledConnectionFactory programatically (no Spring implementation)
Date Mon, 06 Feb 2012 18:21:46 GMT
I'm trying to use the PooledConnectionFactoray to create a single connection
programatically that can be reused at various places in my application.
This comment  says that wrapping a PooledConnectionFactory in a singleton
will defeat the purpose of using the PooledConnectionFactory, but I'm
uncertain as to why this is true.  Won't instantiating multiple
PooledConnectionFactory objects result in more than one Connection being
created? What am I missing?

View this message in context:
Sent from the ActiveMQ - Dev mailing list archive at

View raw message