MDB Exception handling
hi,
I got a simple question about messagedriven beans.
My MDB is deployed with container managed transaction, attribute "required".
According to the specification, this causes the transaction to be rolled back if an exception is thrown.
Will an exception catched within the onMessage method be noticed by the container and handled so that the transaction is rolled back ? I am not sure, thats why I ask. Logically, an exception catched within the onMessage method should not be propagated to the container.
Can I roll back the message consumption action by calling setrollbackonly() in the catch block of the onMessage method ?
Best regards, Jubin

