This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Transactions and Messages

 
Tyronne Fernando
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Please let me know whether the Message is sent in the following scenario:

"A session bean sends a message to a MDB within a transaction. After sending the message the transaction is marked for rollback."

Is the message will be sent to the MDB?

Thanks in advance.

Cheers,
Tyronne
 
Lee Kian Giap
Ranch Hand
Posts: 213
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"A session bean sends a message to a MDB within a transaction. After sending the message the transaction is marked for rollback."


I assume that the transaction you mean is begin in the session bean and is rollback in that session bean , it does not mean a new transaction in MDB

Answer is Message not sent.
 
Tyronne Fernando
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the quick reply Lee.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic