activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan Pechorin <ivan.pecho...@gmail.com>
Subject Re: ActiveMQConnection leaks memory by caching ActiveMQTempQueue objects
Date Thu, 29 Apr 2010 16:06:46 GMT
> what I cannot understand is that why those ActiveMQTempQueue are always
> there even I close the connection.

Because the connection is not closed actually, it is just returned to the pool.

If I understand correctly, the following kinds of ActiveMQ objects
involve sync request to ActiveMQ broker each time they are created:
1) connection
2) session
3) destination
4) producer
5) consumer

Therefore, we pool all of these objects, not just connections.

Mime
View raw message