Hi Adrian

I don't want to bother you with many details, but this particular MDB is 
processing a stream. The processing can take from a few seconds to several 
minutes. The timing is not so critical, and I can add a flag in the loop to see 
if it should abort.

My question is, at the moment either a shutdown is requested, or a redeploy 
begins, what process can I trap in JBoss? Is there some completely reliable 
action/event/step that I can monitor for? I can manage the flag myself, and 
bailing out of the loop, I just don't know how to tell when JBoss is trying to 
shutdown or redeploy the app. Shutdown is more important, in this case.

Many thanks
Patrick

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3920088#3920088

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3920088


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to