This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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 Java 8 in Action this week in the Java 8 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...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JMS and transaction
 
Similar Threads
How to enable transactions with JMS
two tier or three tier
mdb and transactions
Question on EJB Transactions
How to commit JDBC prior to JMS in a Transaction