Connection Recovery and Fault Tolerance
Fault tolerance is the ability of the system to continue processing requests even if an unexpected failure occurs in the system. You must select the Connection Recovery check box to achieve fault tolerance. You must give comma separated values in the HostPort field.
RabbitMQ Broker
For RabbitMQ broker, you must configure the NetworkRecoveryInterval(msec) field to achieve connection recovery. If the connection recovery is enabled, the connection recovery waits for the time mentioned in the NetworkRecoveryInterval(msec) field and then retry.
For AMQPSendMessage activity, the RabbitMQ client makes a reconnection attempt until the AMQPSendMessage activity timeout is reached. The AMQPSendMessage activity timeout is governed by the TIBCO ActiveMatrix BusinessWorks timeout, whose default value is 3 minutes. If a reconnection attempt is made within this time limit, the connection is reestablished, otherwise the TIBCO ActiveMatrix BusinessWorks displays an activity timeout error. Default behavior can be overridden by setting one of the following:
File Name | Property Name | Location |
---|---|---|
bwappnode-<AppNodeName>.tra | java.property.bw.engine.activity.async.waitTime=n(millisec) |
<TIBCO_HOME>/bw/6.x/domains/<Domain_Name>/appnodes/<AppSpaceName>/<AppNodeName>/bin/ |
config.ini | bw.engine.activity.async.waitTime=n(millisec) |
<TIBCO_HOME>/bw/6.x/domains/<Domain_Name>/appnodes/<AppSpaceName>/ <AppNodeName> |
For Apache ActiveMQ(ActiveMQ), Apache Qpid(QPID), Microsoft Azure Service Bus AzureSB), and Red Hat AMQ(AMQ) brokers, you must configure the Retry Interval (msec) and Retry Attempts to achieve connection recovery.