geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fredrik Jonson <fred...@myrealbox.com>
Subject Re: Queue listener doesn't stop
Date Tue, 07 Apr 2009 14:56:46 GMT
Tamer Nassar wrote:

>  I created a listener for a queue. To start this listener I added it to
>  the init() method in a servlet. The problem is when I stop my deployed
>  war file. the listener doesn't stop.

You should be able to stop the message listener and release the jms resource
in the destroy() method of the servlet.

http://java.sun.com/javaee/5/docs/api/javax/servlet/Servlet.html#destroy()

-- 
Fredrik Jonson


Mime
View raw message