activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jose MarĂ­a Zaragoza <demablo...@gmail.com>
Subject PooledConnectionFactory and cache
Date Wed, 03 Jul 2013 21:54:12 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message