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 and other Java EE Technologies and the fly likes JMS and transaction Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JMS and transaction" Watch "JMS and transaction" New topic
Author

JMS and transaction

avihai marchiano
Ranch Hand

Joined: Jan 10, 2007
Posts: 342
Hey,

I work with jboss 4.2 and i wonder if there is any way to make jms part of my transaction?

Thank you
Ahmed Basheer
Ranch Hand

Joined: Apr 15, 2004
Posts: 77
I don't know what specificially you mean.
You can use EJB3.0 MDB and use transaction annotations on MDB so that transactions are initiated from MDBs.

Ahmed
avihai marchiano
Ranch Hand

Joined: Jan 10, 2007
Posts: 342
I am talk about case that you want the JMS to send the message only in case that the transaction success.

For example - audit...
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JMS and transaction
 
Similar Threads
How to commit JDBC prior to JMS in a Transaction
How to enable transactions with JMS
Question on EJB Transactions
mdb and transactions
two tier or three tier