What options are available for reconnecting to EMS for Business Events Activities configured in Designer ?

What options are available for reconnecting to EMS for Business Events Activities configured in Designer ?

book

Article ID: KB0090917

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
===========
How does BusinessEvents Activities Send Event; Receive Event; Wait for Event, which are configured in Designer reconnects to EMS.

Environment:
===========
TIBCO BusinessEvents 3.x
All Operating Systems


Resolution:
========
1). By default, all BusinessWorks JMS activities keep on retrying to reconnect to EMS in an infinite loop.

2. For BE Activities to keep on retrying to reconnect to EMS, there are two properties available and depending on the requirements, any of them can be used as explained below.

a). java.property.com.tibco.tibjms.reconnect.attempts 20,5000

   Usage-> 20 reconnect attempts at intervals of 5 seconds. Default value is 4 reconnect attempts at intervals of 500 ms.
        
-    To be able to define the property in Administrator, for the deployed project add this property in bw-engine.xml.
  
  -    If you want to test from Designer , you need to add this property in designer.tra at &ltTIBCO_HOME>\designer\&ltVERSION>\bin
       folder.        


    b).   "be.jms.reconnect.timeout"

   Usage -> The above specified BE Activities will keep on retrying to EMS in an infinite loop.
    
   - To be able to define the property in Administrator, for the deployed project add this property in bw-engine.xml.
  
   -  If you want to test from Designer, you need to create a file named Properties.cfg at &ltTIBCO_HOME>\designer\&ltVERSION> and add "be.jms.reconnect.timeout=5" in it.

Issue/Introduction

What options are available for reconnecting to EMS for Business Events Activities configured in Designer ?