simpleusr
simpleusr

Reputation: 374

Hazelcast - How to get the current hazelcast instance inside EntryProcessor?

I need to get the current hazelcast instance inside EntryProcessor.process method.

I need to send message to topic in process method.

How do I get the instance?

Regards

Upvotes: 0

Views: 333

Answers (1)

Ozan Kılıç
Ozan Kılıç

Reputation: 591

You can easily achieve it by implementing HazelcastInstanceAware interface in your EntryProcessor class.

Upvotes: 2

Related Questions