This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

This section explains the possible scenarios when a message processor is run in a worker-manager cluster 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. A message processor may be executed by one or more worker nodes.

The following scenarios are possible when one or more message processors are run in a worker-manager cluster node.

Message processor execution by one node

When a system administrator starts starts the WSO2 ESB in a worker-manager cluster mode with the WSO2 Elastic Load Balancer, only one worker can run a given message processor by default. No manager can run the message processor in this scenario.

Message processor execution by a given/selected set of workers

In this scenario, a message processor can be 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:

 <parameter name="member.count">2</parameter> 

All the configuration changes done to the message processor will take effect after the next ESB instance/cluster restart.

Shutting down a member with one or more message processors

When a worker node on which one or more message processors are run is shut down, those message processors can be transferred to other worker nodes in the cluster.

  • No labels