Re: Question about events in a clustered environment

2011-07-13 Thread Dave Lamy
Hey Andrus-- Thanks for the response and sorry for the delay in getting back to you. Good point about the local context, that makes sense and I should have seen that. So my source studying took me to EventManager and DataChannelListener. It *looks* like the GraphEvents should be communicated ov

Re: Question about events in a clustered environment

2011-05-26 Thread Andrus Adamchik
Good question... There are 2 things that are easily clustered out of the box: 1. Snapshot events (events used internally by Cayenne to synchronize object state). Those are triggered by ObjectContext commit operations. 2. Cache group events used to invalidate query cache groups across the cluste

Question about events in a clustered environment

2011-05-17 Thread Dave Lamy
Hey guys-- In a clustered cayenne environment (I'm using the JMS event bridge), do all nodes receive all cayenne events (talking preInsert, postUpdate, etc etc). Only some of them? None of them? I just realized I may be making some massive assumptions here. Thanks, Dave