Invoked when a message is received for the added topic.
Namespace: Hazelcast.CoreAssembly: Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.8.1
void OnMessage(
Message<T> message
)
Sub OnMessage (
message As Message(Of T)
)
void OnMessage(
Message<T>^ message
)
abstract OnMessage :
message : Message<'T> -> unit
Parameters
- message
- Type: Hazelcast.CoreMessageT
received message
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.
Reference