How to add a custom JNDI Context Factory in a "JMS Connection" activity.

How to add a custom JNDI Context Factory in a "JMS Connection" activity.

book

Article ID: KB0093972

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Description:
The default "JNDI Context Factory" drop down list has minimal choices. Follow the steps below to add new items. Attached is the customized file (FIlename: JMS-Connection-Original_ToCus.sharedjmscon) so you could compare it to the original.

Resolution

1). Open the source file of the "JMS Connection" activity, i.e.  JMS-Connection-Original.sharedjmscon.

2). Edit the following element inside the "<NamingEnvironment>" node to use the custom "JNDI Context Factory".

            <NamingInitialContextFactory>com.pcbsys.nirvana.nSpace.NirvanaContextFactory</NamingInitialContextFactory>

3). Save the file and refresh in Designer. You will see the new item in the "JNDI Context Factory" drop down list.

Issue/Introduction

How to add a custom JNDI Context Factory in a "JMS Connection" activity.

Attachments

How to add a custom JNDI Context Factory in a "JMS Connection" activity. get_app