In This section explains the possible scenarios when a message processor is run in a worker-manager cluster mode, only node. In such situations, only workers are required to process/serve client requests while managers are mainly required to carry out administration activities and synchronize the administrative information of the workers in the cluster. Therefore, when a message processor runs in a worker manager cluster mode, usually it is executed A message processor may be executed by one or more worker nodes.
Usually, a message processor is executed by one worker node with the current ESB implementation. However However, there can be scenarios where a message processor is simultaneously executed by more than one worker node in the cluster to optimise performance. The number of worker nodes that is allowed to execute the message processor at a given time can be controlled by specifying the required number in the message processor configuration as follows:
Code Block | ||
---|---|---|
| ||
<parameter name="member.count">2</parameter> |
The following scenarios may take place when running a message processor in a worker-manager cluster.
Message processor execution by one worker node
Message processor execution by a selected set of workers
...
When a worker node where one or more worker nodes are running is shut down by an administrator or due to a failure, those message processors are scheduled on the other members of the cluster.