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

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -