Configure and look up EMSDTCConnectionFactory.

Configure and look up EMSDTCConnectionFactory.

book

Article ID: KB0092771

calendar_today

Updated On:

Products Versions
TIBCO Enterprise Message Service -
Not Applicable -

Description

Description:
In EMS 8.x, the EMS .NET API supports JNDI lookup of EMSDTCConnectionFactory objects.
An administrator can create a EMSDTCConnectionFactory in JNDI and an EMS .NET application will be able to look it up using
either LookupContext or LdapLookupContext.

DTC – Distributed Transaction Coordinator

Resolution

In factories.conf, configure the factory like the following:
---

[EMSDTCConnectionFactory]
  type                  = xageneric
  url                   = tcp://7222

-----

In .Net program, look up the factory like below, for example:

----

 LookupContext lcxt = new LookupContext(env);           
 EMSDTCConnectionFactory factory = (EMSDTCConnectionFactory) lcxt.Lookup("EMSDTCConnectionFactory");
-----

Issue/Introduction

Configure and look up EMSDTCConnectionFactory.