Page 1 of 1
Re: About Question enthuware.oce-ejbd.v6.2.564 :
Posted: Sun Jan 20, 2013 3:02 pm
by user
If it throws an EJBException, isn't suppose to discard the EJB instance? I'm really confused about this part.
Thanks!
Re: About Question enthuware.oce-ejbd.v6.2.564 :
Posted: Sun Jan 20, 2013 3:15 pm
by admin
Yes, the bean instance will be discarded. That is what the explanation explains as well. Could you please tell me more about what you find confusing so that I can help?
-Paul.
Re: About Question enthuware.oce-ejbd.v6.2.564 :
Posted: Sun Jan 20, 2013 5:07 pm
by user
Ok so I read the question and explanation again, let me see If I understood correctly.
When you say that it tries to redeliver de msg again, and again, and again, it will use a different MDB instance each time. Is it right? I was assuming that the MDB was being discarded and that´s it, but now I see I was thinking of this in the wrong way.
Re: About Question enthuware.oce-ejbd.v6.2.564 :
Posted: Sun Jan 20, 2013 5:45 pm
by admin
Yes, that is correct.
Re: About Question enthuware.oce-ejbd.v6.2.564 :
Posted: Mon Sep 02, 2013 9:32 am
by sanju.ait@gmail.com
"Also, in case of CMT, rolling back the transaction is same as throwing a system exception because the message receipt will not be acknowledged."
Reverse is true, throwing system exception will rollback the transaction but rolling back transaction will not throw the system exception. Rolling back transaction will throw system exception only in case of session beans and not MDB's.
Please correct me if I am wrong.
Re: About Question enthuware.oce-ejbd.v6.2.564 :
Posted: Tue Sep 03, 2013 4:14 pm
by admin
Of course, it is not exactly the same. The statememt is respect to their affects on the message receipt.
HTH,
Paul.