activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans Bausewein <>
Subject Re: Closing Producers
Date Mon, 28 Jul 2008 20:22:35 GMT

rodih wrote:
> Thanks for the quick response. I will take your advice and will close
> resources explicitly. 

That's generally recommended. You should not rely on the implementation of a
specific JMS provider, anyway. And it's usually not difficult to do.

Follow the J2EE spec. The comments are clear, I think.

If you close the Session, you may assume that the producers are closed by
the JMS provider (ActiveMQ in this case).
(But ActiveMQ 5.1.0 does not in all cases.)


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

View raw message