-
1. Re: Configuration.setNumOwners(1) and notification listeners
pmuir Jul 5, 2011 1:27 PM (in response to susanin)Events are only sent to owner nodes.
If you want to propagate the events to non owner nodes, you would need to use a messaging solution such as HornetQ
-
2. Re: Configuration.setNumOwners(1) and notification listeners
susanin Jul 5, 2011 2:26 PM (in response to pmuir)Hi,
Thanks for the tip about HornetQ!
But as I mentioned in another thread on this forum, I'm trying to get rid of additional overhead and architectural complexity introduced systems like JMS or HornetQ.
In this sense, Hazelcast provides a very handy set of APIs for subscribing and listening to events related to any distributed data structure (e.g. maps, queues, lists, etc). Any node or a super-client (i.e. node that does not keep a copy of the data) can subscribe to such changes and receive them. It does not matter if they own the node or not.
Would be nice, if Infinispan could do the same. After all, there is no additional overhead, if there are no subscribers to these udpates.
-
3. Re: Configuration.setNumOwners(1) and notification listeners
pmuir Jul 11, 2011 6:11 AM (in response to susanin)This has been discussed in another thread, but if you want such a set of data structures, please open feature requests in JIRA so that we can track them.