[jboss-user] [JBoss Cache Users] - Re: CacheListener is (unduly) notified of rollbacked operati

chtimi2 do-not-reply at jboss.com
Fri Dec 4 05:20:45 EST 2009


The CacheListener is a local observer: it sees changes to the local copy of the cache. 
If a transaction is started on the "master" node (master for a given interaction, otherwise nodes need not be symmetric), and it is rolled back, changes are not replicated to the slave nodes. 
Thus on slave nodes, the CacheListener is not notified of any change on rollback. 
So the only problem is that the master node's CacheListener IS notified even in case of rollback.

So you don't need the workaround if, on the master node, you don't need the notification.

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

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



More information about the jboss-user mailing list