...
In order to use failover with message broker please follow steps described below:
Install two instances of MB and add an make sure following section is added to the configuration file (the rest of the configuration is the same like in case of running single message broker and both configuration must be the same)
Code Block language yaml Engine FailoverEnabled: true
Start both instances
Create two logical ports. One for each instance of message broker
In the transaction /PACG/ECM_CACC enter the first logical port
Run transaction SM30 and edit view /PACG/ECM_VCAAP - enter there names of both logical ports that should be used
In the transaction /PACG/ECM_CPROP enable use of failover mechanism
Create a job with periodicity 1 minutes for program /PACG/ECM_HEARTBEAT. This program is deleting old job protocols. This program in first run is activating first (primary) MB if available. If not than secondary MB is activated. Program needs to run each minute.