You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Jose MarĂa Zaragoza <de...@gmail.com> on 2013/07/03 23:54:12 UTC
PooledConnectionFactory and cache
Hello:
I'm using ActiveMQ 5.8.0
I'm confused about what cache means in PooledConnectionFactory?
For example
when it's said "connection is cached", does it mean that the same
connection is shared between threads ? or it's only a pool of connection
what is borrowed by PooledConnectionFactory
to a only one client (thread) and returned when calls close ?
when it's said "session is cached" , does it mean the same session is
shared between threads?
Because JMS spec talks about session is non thread safe and should be use
by only one thread
cache is per thread or shared between all threads that use the same
PooledConnectionFactory?
Thanks and regards