[jboss-user] [JBoss Cache: Core Edition] - transaction management with multiple caches

sridhar_ratna do-not-reply at jboss.com
Fri Jul 24 02:56:01 EDT 2009


Hi,

I am using JBoss Cache 3.1 integrated with Gridgain 2.1.

I built three jboss cache instances with Cache Mode as LOCAL. 
Each of these cache instance is associated to a single GridNode. 
These grids are running in separate machines.

For a particular operation, i need to delete data from two caches and merge it with some data in third cache.

for this first i executed a jobs to get data from the first & second cache (affinity based).
Here if deleting data from any of the cache fails, then i would like to roll back the operation in all caches.

If the first two are completed successfully,
Now i am executing another job with the data from earlier jobs to merge with data in third cache.(affinity based)

Here, if the merging operation fails, then i would like to roll back the delete operation in the first & second jboss cache instances.

How can i use transactions in these scenarios

Please help me.
Thanks,
Sridhar Ratna



View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245733#4245733

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245733



More information about the jboss-user mailing list