Configuring TIBCO Enterprise Message Service (Optional)
To use the ESB channel or JMS transport for TIBCO API Exchange Gateway, configure the EMS server.
Procedure
Task A Update TIBCO Enterprise Message Service Libraries
-
Open the
ASG_HOME/bin/asg-engine.tra file for editing. Set
the tibco.env.EMS_HOME property to the TIBCO Enterprise Message Service
installation home.
For example,
tibco.env.EMS_HOME=c:/tibco/ems/5.1
- Copy the jms.jar and tibjms.jar files from TIBCO Enterprise Message Service installation (EMS_HOME/lib) to ASG_HOME/lib/ext/tpcl
Task B Enable the ESB Channels in the CDD file
- Open the ASG_HOME/bin/asg_core.cdd file for editing in a text editor.
-
Search the following property.
<property-group comment="" name="Channel">
<property name="be.channel.deactivate" value="/DefaultImplementation/Channels/SouthboundEsb0Channel,/DefaultImplementation/Channels/SouthboundEsb1Channel,/DefaultImplementation/Channels/SouthboundEsb2Channel,/DefaultImplementation/Channels/North_ESBChannel,/DefaultImplementation/Channels/North_HTTPChannel,/ASG/Channels/SOAPJMSChannel_North,/ASG/Channels/SOAPJMSChannel_South,/ASG/Channels/modAS_Channel,/Common/Channel/PSMChannel,/Common/Channel/CentralLoggerJMS"/>
-
Copy the property
be.channel.deactivate
to
be.channel.deactivate.backup
as follows:
<property name="be.channel.deactivate.backup" value="/DefaultImplementation/Channels/SouthboundEsb0Channel,/DefaultImplementation/Channels/SouthboundEsb1Channel,/DefaultImplementation/Channels/SouthboundEsb2Channel,/DefaultImplementation/Channels/North_ESBChannel,/DefaultImplementation/Channels/North_HTTPChannel,/ASG/Channels/SOAPJMSChannel_North,/ASG/Channels/SOAPJMSChannel_South,/ASG/Channels/modAS_Channel,/Common/Channel/PSMChannel,/Common/Channel/CentralLoggerJMS"/>
-
Enable the ESB channels as follows:
-
To enable the northbound ESB channel, remove
/DefaultImplementation/Channels/North_ESBChannel from the value of the
be.channel.deactivate
property. The modified value of the property is as
follows:
<property name="be.channel.deactivate" value="/DefaultImplementation/Channels/SouthboundEsb0Channel,/DefaultImplementation/Channels/SouthboundEsb1Channel,/DefaultImplementation/Channels/SouthboundEsb2Channel,/DefaultImplementation/Channels/North_HTTPChannel,/ASG/Channels/SOAPJMSChannel_North,/ASG/Channels/SOAPJMSChannel_South,/ASG/Channels/modAS_Channel,/Common/Channel/PSMChannel,/Common/Channel/CentralLoggerJMS"/>
-
To enable the southbound ESB channels, remove the
/DefaultImplementation/Channels/SouthboundEsb0Channel,/DefaultImplementation/Channels/SouthboundEsb1Channel,
,/DefaultImplementation/Channels/SouthboundEsb2Channel from the value of the
be.channel.deactivate
property. The modified value of the property is as
follows:
<property name="be.channel.deactivate" value="/DefaultImplementation/Channels/North_ESBChannel,/DefaultImplementation/Channels/North_HTTPChannel,/ASG/Channels/SOAPJMSChannel_North,/ASG/Channels/SOAPJMSChannel_South,/ASG/Channels/modAS_Channel,/Common/Channel/PSMChannel,/Common/Channel/CentralLoggerJMS"/>
-
To enable the northbound ESB channel, remove
/DefaultImplementation/Channels/North_ESBChannel from the value of the
be.channel.deactivate
property. The modified value of the property is as
follows:
- Save the changes to the file.
Task C Create Users on JMS Server
- Ask your JMS server administrator to create a regular user (not an administrator). The Core Engine uses this user to connect to the JMS server when the JMS transport is used at the facade and target side. The administrator should grant the following privileges to this user:
Task D Create Queues on EMS Server
- Make sure that TIBCO Enterprise Message Service is running.
-
Create the following queues in the TIBCO EMS server. For example,
using
tibemsadmintool:
create queue asg.out.request create queue asg.out.request.reply.0.0 create queue asg.out.request.reply.0.1 create queue asg.out.request.reply.0.2 create queue asg.in.request create queue asg.in.request.reply.0 create queue asg.soap.in.request create queue asg.soap.in.request.reply.0 create queue asg.soap.forward create queue asg.soap.forward.reply.0