How to connect to JBoss HornetQ JMS server in BusinessWorks.

How to connect to JBoss HornetQ JMS server in BusinessWorks.

book

Article ID: KB0089185

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Resolution:
Description:
===========
How to connect to JBoss HornetQ JMS server in BusinessWorks(BW).

Environment:
===========
Jboss HornetQ 2.0

Resolution:
===========

HornetQ is the new brand for JBoss JMS server. So far we didn't claim support for this JMS provider. However, there are still some customers trying to use it.

Below are the steps for connecting to HornetQ from Designer, (tested against HortnetQ 2.0.0 GA release):

1). Edit the file designer.tra, append "HornetQ_HOME/lib" and "HornetQ_HOME/client" to the entry of tibco.env.CUSTOM_CP_EXT entry.   The HornetQ_HOME is the home directory of HornetQ.

2). Create a shared "JNDI Configuration" Activity

      In the dropdown list of JNDI Context Factory field, select:        org.jnp.interfaces.NamingContextFactory.

      In the JNDI Context URL field, fill in "jnp://localhost:1099", which is the default JNDI URL of the HornetQ server.

3). Create a shared "JMS Connection" Activity

     Check the Use JNDI for Connection Factory and Use Shared JNDI Configuration .

     In the JNDI Configuration field, select the shared JNDI Configuration resource created in step 2 above.

     Go to the advanced tab, modify the Topic Connection factory and Queue Connection Factory name as "ConnectionFactory". (The name is defined in the HornetQ configuration file).

4). Now you should be able to connect to the HornetQ server from Designer. Apply the changes in step 1 above to bwengine.tra so that it can work in run time.

Issue/Introduction

How to connect to JBoss HornetQ JMS server in BusinessWorks.