ICMessageSynchronizationPolicy

This class allows setting mode & limits to the message synchronization process.

setMode

This method allows you to set the mode of synchronization.

Syntax: void setMode(ICMessageSynchronizationMode mode)

Parameter

Parameter

Type

Description

mode

ICMessageSynchronizationMode

message synchronization mode.

setLimits

This method allows setting the maximum number of threads and a maximum number of messages per thread which will be synchronized.

Syntax: void setLimits(int maxThreads, int maxMessagesPerThread)

Parameter

Type

Description

maxThreads

integer

maximum number of threads which will be synchronized.

maxMessagesPerThread

integer

maximum number of messages per thread which will be synchronized