Spring 2.5.6 with Java Transaction rollback on Database outage -


I found an application that has a non-transactional code.

Currently Java 6 and Spring 2.5.6 (use ibatis-sqlmap-2.3.0).

The requirement is that when an enterprise service bean processing processing, if the database is outage, then the transaction should be rolled back and the message will be reverted back to the queue.

What changes should I need, can you give me an indicator?

You can use two face commits to integrate Spring with Jms and a database We use atoms as a transaction manager. See.

You should consider upgrading your Spring Project. Spring 3.2.x is the least supported version.


Comments

Popular posts from this blog

Removing From ArrayList, In Loop Based On It's Size, But Breaking After Remove Still Gives OutOfBounds -

c# - Reactive Extensions ControlScheduler -

java - Add color code support to a Bukkit plugin -