- 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.xmland define an offset of 1.
<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.xmlin MB2 and define an offset of 2.
- Navigate to MB3to
<EI_HOME>/wso2/broker/conf/carbon.xmland 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:
The broker instances will start on ports 5673, 5674 and 5675 respectively.