How to enable only one or a set of Channels for TIBCO API Exchange Gateway(APIX-G) engine?

How to enable only one or a set of Channels for TIBCO API Exchange Gateway(APIX-G) engine?

book

Article ID: KB0085439

calendar_today

Updated On:

Products Versions
TIBCO API Exchange -
Not Applicable -

Description

Description:
By default, all JMS Channels are disabled using the property below in the asg_core.cdd file:

property name="be.channel.deactivate" value=....

Renaming the property will enable all of the listed channels. If the corresponding properties are not configured properly, the asg-engine will fail to startup.

Issue/Introduction

How to enable only one or a set of Channels for TIBCO API Exchange Gateway(APIX-G) engine?

Resolution

Here are the steps to enable one or more channels:
................................
1.Open the ASG_HOME/bin/asg_core.cdd file for editing in a text editor.
2.Search the following property.
<property-group comment="" name="Channel">
<property name="be.channel.deactivate"
3. Add another property below the above, with a similar name:
<property name="be.channel.undeactivate" value=""/>

4.To enable the one or more channel, cut & paste the channel name as the value for the new property.
For e.g: to enable ESB0 Channel and JMS Channel for Central logger, the changes should look like:
<property name="be.channel.deactivate" value="/DefaultImplementation/Channels/OAuthWebappsChannel,/DefaultImplementation/Channels/OAuthWebappsHTTPSChannel,/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"/>
<property name="be.channel.undeactivate" value="/DefaultImplementation/Channels/SouthboundEsb0Channel,/Common/Channel/CentralLoggerJMS"/>

5.Save the file.
................................