We note that replication occurs if you remove and then perform a putObject, but
not otherwise
That is, the following pseudo-code illustrates a pattern which returns the
modified data
MyObject myObject = new MyObject();
myObject.SetValue("0");
cache1_.putObject("/key/", myObject);
myObject = cache1_.getObject("/key/");
myObject.SetValue("1");
myObject2 = cache2_.getObject("/key/");
// myObject2.GetValue returns 0
cache1_.remove("/key/");
cache1_.putObject("/key/", myObject);
myObject2 = cache2_.getObject("/key/");
// myObject2.GetValue returns 1
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977657#3977657
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977657
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user