UFO Connection factory should not be used in the JMS shared resource for the SAP IDocListener

UFO Connection factory should not be used in the JMS shared resource for the SAP IDocListener

book

Article ID: KB0071660

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for SAP Solutions 8.x

Description

When using the TIBCO ActiveMatrix BusinessWorks Plug-in for SAP Solutions, IDocListener activity. User could choose JMS as the messaging source. In the JMS Connection shared resource, if the Connection factory type is 'Direct', there is an option to enable the 'UFO Connection Factory'.
User-added image

Issue/Introduction

UFO Connection factory should not be used in the JMS shared resource for the SAP IDocListener

Environment

all supported systems

Resolution

By default, the JMS client supports reconnect properties. When the client losts connection to the server, the client will auto reconnect and resend the message based on the reconnection setting.

The UFO Connection is to support the EMS Unshared State Failover (USF). When running in USF mode, the EMS client will not auto reconnect, instead, it expects the client producer to reconnect. In this context, the client producer is IDocListener.

The IDocListener does not implement the JMS reconnect or resend function.  so It does not support the USF.

If we use the UFO Connection factory in the JMS Shared resource that is referenced by the IDocListener, the JMS client default reconnect mechanism will be disabled,. and as the IDocListener does not implement the reconnect, if JMS disconnects, it will not auto reconnect, user would have to restart the application. 

Based on above, user should not enable the UFO Connection Factory in the JMS Connection shared resource for the IDocListener.
 

Additional Information

https://docs.tibco.com/pub/ems/10.2.0/doc/html/Default.htm#users-guide/unshared-state.htm