Ralph Jaus wrote:Hi Amandeep,
thanks for looking for the question. See the difference:
In question 1 above the client's transaction is rolled back. Therefore the message won't be
send by the client nor will the client's db be updated (just what enthuware says).
In question 2 in the link, the client's transaction commits. After this commit, the message will
be send to the queue. Since the client's transaction has already commited it isn't influenced by
the MDB's behavoir.
Thanks Ralph for your reply...
i didn't understand how you came to this conclusion-
Question- 1 says
Assuming that all the variables are properly defined and used, what will happen if the MDB associated with the queue Q1 rolls back the transaction but does not throw any exception?
Question- 2 says
Assuming that all the variables are properly defined and used, what will happen if the MDB associated with the queue Q1 rolls back the transaction but does not throw any exception?