File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring Jms Transaction" Watch "Spring Jms Transaction" New topic

Spring Jms Transaction

john sal
Ranch Hand

Joined: Jul 30, 2010
Posts: 93

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.

Rishi Shehrawat
Ranch Hand

Joined: Aug 11, 2010
Posts: 218
It is sorta covered in the JavaRanch Style Guide.
subject: Spring Jms Transaction
It's not a secret anymore!