I have an MDB connecting to a remote Queue.  It would be useful to have 
something functionally equivalent to an ExceptionListener for the remote 
connection so that I could email a trouble report (or whatever).

Is there a J2EE-compliant or JBoss-specific way to do this?

A ServletContextListener might be able to get and monitor its own Connection 
using an actual ExceptionListener, but that is forbidden in the J2EE 1.4 spec 
and would be non-portable even if it did work.

I think that for JBoss I might be able to add an Interceptor to the JMS stack.  
That's JBoss-only, though, which is less than ideal.  Also, I have very little 
clue on how to do that :)

Any ideas or suggestions would be deeply appreciated.   Thanks!

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

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


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to