This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan 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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
mdb and transactions
two tier or three tier
How to commit JDBC prior to JMS in a Transaction
Question on EJB Transactions