If you are not using an IoC container to take care of your lifecycles for you, you could just register a JVM ShutdownHook to close the pool
On 7/29/06, Paul French <[EMAIL PROTECTED]> wrote:
I only want to close the pool when the client application shutsdown. The client application will be running on mulitple machines and possibly for days at a time and at some point each application will have to be shutdown. ActievMQ broker will continue to run on a separate machine. I was just pointing out my difficulty in shutting down the client application. -- View this message in context: http://www.nabble.com/running-a-jms-client-with-mulitple-threads-tf2016632.html#a5551720 Sent from the ActiveMQ - User forum at Nabble.com.
-- James ------- http://radio.weblogs.com/0112098/
