wood burning stoves 2.0*
The moose likes Spring and the fly likes Spring Jms Transaction Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring Jms Transaction" Watch "Spring Jms Transaction" New topic
Author

Spring Jms Transaction

john sal
Ranch Hand

Joined: Jul 30, 2010
Posts: 93
Hi,

I am using JmsTransactionManager with spring for transacted Jms sessions. However, based on certain condition, I need to commit/rollback the transaction sush that any sends/receives within that transaction are committed/rolled back respectively.

How can we manually commit/rollback a Jms transaction under Spring Container. Tried to read through various paged on net, but could find one.

Thanks!
Rishi Shehrawat
Ranch Hand

Joined: Aug 11, 2010
Posts: 218

http://static.springsource.org/spring/docs/3.1.0.M2/spring-framework-reference/html/transaction.html#transaction-programmatic

http://static.springsource.org/spring/docs/3.1.0.M2/spring-framework-reference/html/jms.html#jms-tx
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Spring Jms Transaction