File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes MDB Message Receipt Part of Transaction Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Reply Bookmark "MDB Message Receipt Part of Transaction" Watch "MDB Message Receipt Part of Transaction" New topic
Author

MDB Message Receipt Part of Transaction

Ivan Krizsan
Bartender

Joined: Oct 04, 2006
Posts: 2193
Hi!
In section 5.4.12 of the EJB 3.1 specification it says:
When a message-driven bean using bean-managed transaction demarcation uses the javax.transaction.UserTransaction interface to demarcate transactions, the message receipt that causes the bean to be invoked is not part of the transaction. If the message receipt is to be part of the transaction, container-managed transaction demarcation with the REQUIRED transaction attribute must be used.

Is it message receipt by the message driven bean that they are talking about?
Does this mean that there are circumstances under which the message delivered to the bean will not be re-delivered?
Thanks in advance!


My free books and tutorials: http://www.slideshare.net/krizsan
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14669
    
  11

I think it's the message receipt by the container. This post should bring some light about it. (although it's about EJB2.0)


[My Blog]
All roads lead to JavaRanch
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: MDB Message Receipt Part of Transaction
 
Similar Threads
BMT inside BMP
Tx attribute for MDB
Need help in MDB
MDB Enthuware Question
Choose Type Of Transaction with EJB (CMT VS BMT)