Hi
I was going through this post
webpage and have some questions about it.
1. MDB with BMT throws System Exception :
Log the exception,Rollback the started transaction,discard the bean and throws exception back to resource adapter.But in this case the message is acknowledged anyway right? Because the message receipt is part of transaction that the containter starts and once it is received it will commit the tx and hence acknowledged the message and then call onMessage.Please correct me if i am wrong?
2. MDB with BMT throws System Exception but no transaction :
Discard the bean and throws the exception back to resource adapter. What about message acknowledgement?. The Tx started by container for message receipt will get committed or suspended before call to onMessage?
3. MDB with CMT but NOT_SUPPORTED throws System exception.
Log the exception,discard the bean and rethrow the exception to resource adapter but what about message acknowledgement?what about the transaction started by the container for message receipt, does it commit before call to onMessage or get Suspended?