...
- Make an exact copy of EI Message Broker runtime in three different locations and rename them as MB1, MB2 and MB3. Those will be the 3 separate MB instances.
Navigate to MB1to
<EI_HOME>/wso2/broker/conf/carbon.xml
and define an offset of 1.Code Block <Ports> <!-- Ports offset. This entry will set the value of the ports defined below to the define value + Offset. e.g. Offset=2 and HTTPS port=9443 will set the effective HTTPS port to 9445 --> <Offset>1</Offset>
- Navigate to MB2to
<EI_HOME>/wso2/broker/conf/carbon.xml
in MB2 and define an offset of 2. - Navigate to MB3to
<EI_HOME>/wso2/broker/conf/carbon.xml
and in MB3 and define an offset of 3. - The 3 MB instances are ready. Start each instance of MB by running one of the following commands:
<MB<EI_HOME>/wso2/broker/bin/wso2server.sh
(on Linux)<MB<EI_HOME>/wso2/broker/bin/wso2server.bat
(on Windows)
The broker instances will start on ports 5673, 5674 and 5675 respectively.
...