Overview
You may want to know if Aurea Monitor supports FT connection to multiple Messenger or ActiveMQ brokers and how to configure it.
Information
The Aurea Monitor: Installing 2020/11.x blog post describes how to configure a message queue for the setup as shown below in post-custom.sh (post-custom.conf in Windows) or env.sh.
You can specify more than one broker URL in the following way:
- Windows:
system.property.com.actional.jms.ext.sonicmq.url=tcp://brkr01.abc.com:2660,tcp://brkr02.abc.com:2660
- Linux:
actional_sys_prop com.actional.jms.ext.sonicmq.url tcp://brkr01.abc.com:2660,tcp://brkr02.abc.com:2660
To configure fault-tolerant behavior, which ensures that the connection to messaging broker is re-established in case of failure, add the following lines to the same file:
-
Windows
system.property.com.actional.jms.ext.sonicmq.faultTolerant=true
system.property.com.actional.jms.ext.sonicmq.faultTolerantReconnectTimeout=60
system.property.com.actional.jms.ext.sonicmq.pingInterval=30
system.property.com.actional.jms.ext.sonicmq.socketConnectTimeout=5000 -
Linux
actional_sys_prop com.actional.jms.ext.sonicmq.faultTolerant true
actional_sys_prop com.actional.jms.ext.sonicmq.faultTolerantReconnectTimeout 60
actional_sys_prop com.actional.jms.ext.sonicmq.pingInterval 30
actional_sys_prop com.actional.jms.ext.sonicmq.socketConnectTimeout 10000