Open topic with navigation

TIBCO ActiveMatrix BusinessWorks™ Plug-in for AMQP 6.5.1

# 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. Select the Connection Recovery checkbox to achieve fault tolerance. 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.

Apache ActiveMQ, Apache Qpid, Red Hat AMQ, ActiveMQ Artemis, and Microsoft Azure Service Bus Brokers

For Apache ActiveMQ (ActiveMQ), Apache Qpid (QPID), Microsoft Azure Service Bus (AzureSB), Red Hat AMQ (AMQ), and ActiveMQ Artemis (Artemis) brokers, you must configure Retry Interval (msec) and Retry Attempts to achieve connection recovery.

The AMQPSendMessage activity timeout is governed by the TIBCO ActiveMatrix BusinessWorks timeout, whose default value is 3 minutes for all the brokers supported. If a reconnection attempt is made within this time limit, the connection is reestablished, otherwise the TIBCO ActiveMatrix BusinessWorks displays an activity timeout error. The 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>`

Setting Retry Properties for Microsoft Azure Service Bus broker

The plug-in provides an option to set `maxReconnectAttempts` and `maxReconnectDelay` properties as system properties when attempting to connect to the Microsoft Azure Service Bus broker.

Setting Retry Properties for Microsoft Azure Service Bus Broker in TIBCO Business Studio™ at Run Time

1. From the TIBCO Business Studio™ menu, click Run > Run Configurations.
2. In the Run Configurations dialog, perform the following tasks:
   1. In the left pane, click BusinessWorks Application > BWApplication.
   2. In the right pane, click the Arguments tab.
   3. In the VM arguments field, add the following parameters:
      - `Dcom.tibco.plugin.amqp.maxReconnectAttempts=<maxReconnectAttempts>`
      - `Dcom.tibco.plugin.amqp.maxReconnectDelay=<maxReconnectDelay>`

Setting Retry Properties for Microsoft Azure Service Bus Broker in TIBCO® Enterprise Administrator at Run Time

1. Navigate to the TIBCO_HOME/bw/version_number/bin directory and open the bwcommon.tra file.
2. Add the following parameters to the `java.extended.properties` property:
   - `com.tibco.plugin.amqp.maxReconnectAttempts=<maxReconnectAttempts>`
   - `com.tibco.plugin.amqp.maxReconnectDelay=<maxReconnectDelay>`

Note: Setting these system properties values takes precedence over the values set on AMQP Shared Resource Connection for Retry Interval (msec) and Retry Attempts fields.

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO ActiveMatrix BusinessWorks™ Plug-in for AMQP

Copyright © 2015-2025. Cloud Software Group, Inc. All Rights Reserved.