Dear colleagues, 

My onMessage method of MDB calls session bean that performs database 
operations. 
Some database errors (constraint violation, etc.) are normal cases and should 
not cause message redelivery. So I wrapped the whole onMessage code into the 
try..catch . But even if I catch all Exceptions and even Throwables, message is 
being redelivered. 
When no error happens, it is not being redelivered. 
How to avoid this unwanted redelivery ? 

Thank you. 


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4080433
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to