aspose 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 Spring in Action this week in the Spring 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