Click or drag to resize

IMessageListenerTOnMessage Method

Invoked when a message is received for the added topic.

Namespace:  Hazelcast.Core
Assembly:  Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.9.2
Syntax
void OnMessage(
	Message<T> message
)

Parameters

message
Type: Hazelcast.CoreMessageT
received message
Remarks
Invoked when a message is received for the added topic. Note that topic guarantees message ordering. Therefore there is only one thread invoking onMessage. The user shouldn't keep the thread busy and preferably dispatch it via an Executor. This will increase the performance of the topic.
See Also