anonymous wrote :
| The exception is caught in JBM code so I don't think you'll have a chance to
do anything with it.
|
It's not actually. The MessageCallbackHandler invokes onMessage() on the listener. For
JCA that is the JmsServerSession who calls the MessageEndpoint.onMessage() method. At this
point you are in the EJB3 interceptor chain. If the MDB throws a RuntimeException it
bubbles back up to the JmsServerSession where I handle it with a rollback or a commit.
As far as the MessageCallbackHandler is concerned, an exception was never thrown.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986934#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...