Well, easiest for me would be a callback method on the MDB like

void onCommitException(Throwable t);

(How to register it, is another issue). But as you say the commit is issued by 
the pool I am not sure if that is still possible at that point or if the 
instance has already been dismissed.

Today it is a real problem when the MDB is the one who commits a transaction. 
All the real interesting exceptions happen on commit (because DB constraints 
fire then mostly). With CMT I loose the exception. And with BMT I can not push 
the message back to the queue: http://jira.jboss.com/jira/browse/EJBTHREE-351
I am sort of helpless.

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

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


-------------------------------------------------------
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://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to