Listeners notified on topic broadcast
<topic name="default"> <message-listeners> <message-listener> com.packtpub.hazelcast.listeners.TopicListener </message-listener> </message-listeners> </topic> config.getTopicConfig("default") .addMessageListenerConfig(new ListenerConfig( TopicListener.class.getCanonicalName() ));
Get Getting Started with Hazelcast - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.