How can EMS reconnection be achieved for the TIBCO Adapters?
book
Article ID: KB0088164
calendar_today
Updated On:
Products
Versions
TIBCO Adapter SDK
-
Not Applicable
-
Description
Resolution: Description: ========= When the connection to the EMS Server is lost either due to a network loss or a hard failure of the EMS Server the adapter throws an exception and needs to be restarted for establishing the EMS connection. The steps provided in the resolution will ensure that the adapter attempts to reconnect to the EMS Server.
Environment: ========== - Operating System: All - Hardware: All - SDK Version: All - EMS Version: All
Resolution: ========= To achieve EMS reconnection the following must be done:
1. Specify a fault tolerant URL for 'Provider URL' parameter in JMS session. If a global variable (%%JmsProviderUrl%%) is being used for 'Provider URL' parameter, it can also be set as a fault tolerant URL.
A fault tolerant URL should contain at least two entries. For example, if JMS session is connecting to an EMS server on local machine, a fault tolerant URL will be -
tcp://localhost:7222,tcp://localhost:7222
You can also specify the fault tolerant JMS Provider Url in the adapter’s tra file: