If it throws an EJBException, isn't suppose to discard the EJB instance? I'm really confused about this part.
Thanks!
About Question enthuware.oce-ejbd.v6.2.564 :
Moderator: admin
-
- Site Admin
- Posts: 10068
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.oce-ejbd.v6.2.564 :
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.
-Paul.
If you like our products and services, please help us by posting your review here.
Re: About Question enthuware.oce-ejbd.v6.2.564 :
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.
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.
-
- Site Admin
- Posts: 10068
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.oce-ejbd.v6.2.564 :
Yes, that is correct.
If you like our products and services, please help us by posting your review here.
-
- Posts: 38
- Joined: Fri Aug 16, 2013 11:37 pm
- Contact:
Re: About Question enthuware.oce-ejbd.v6.2.564 :
"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.
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.
-
- Site Admin
- Posts: 10068
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.oce-ejbd.v6.2.564 :
Of course, it is not exactly the same. The statememt is respect to their affects on the message receipt.
HTH,
Paul.
HTH,
Paul.
If you like our products and services, please help us by posting your review here.
Who is online
Users browsing this forum: No registered users and 147 guests