Message Queue Failover Mechanism
- Last UpdatedDec 04, 2024
- 1 minute read
When the RabbitMQ server connection is lost, AVEVA Work Tasks system continuously monitors the server for an active connection at regular intervals within a specified time duration. Once the RabbitMQ server becomes available, the connection is automatically re-established, enabling the AVEVA Work Tasks server to send and receive events seamlessly.
Failover settings are configured in the WFEngine.NET2.exe.config file. Below are the key configuration parameters:

-
MonitorRabbitMQConnection
Enables or disables the RabbitMQ failover feature. The default value is true.
-
RabbitMQRetryDurationinMinutes
Specifies the duration (in minutes) during which the AVEVA Work Tasks system will monitor the RabbitMQ server for availability. The default value is 60 minutes.
-
RabbitMQRetryTimeIntervalinMinutes
Defines the interval (in minutes) at which the AVEVA Work Tasks system checks the RabbitMQ server's status. The default value is 1 minute.
-
RabbitMQPort
Specifies the RabbitMQ server port number. The default port is 5672.
These settings ensure the AVEVA Work Tasks system can recover from RabbitMQ connection interruptions efficiently.