Configuring T24 Browser and Listener in JBoss 6.XX EAP Using TOCF (EE)
Configuring T24 Browser and Listener in JBoss 6.XX EAP Using TOCF (EE)
Customer Support
Portal
(/SitePages/Home.aspx)
Was
Note: Kindly use latest Browser War from TCSP portal through the core update RXX_BrowserClient_XX.zip this page
and latest
TOCF(EE) pack from Distribution team ([email protected] (mailto:[email protected])).
https://tcsp.temenos.com/HowTo/ListenerConfiguration.aspx 1/19
10/3/2021 Configuring T24 Browser and Listener in JBoss 6.XX EAP using TOCF(EE)
Configure the files as shown below to connect to T24 environment via T24 Browser and listener using Jboss EAP 6.X
version.
Step 1:
Create two t24ConnectionFactory's in the standalone-full.xml (..\jboss-eap-6.XX\standalone\configuration\) file for each
T24 Browser and Listener namely jca/t24ConnectionFactoryBROWSER and jca/t24ConnectionFactorySWIFT and
corresponding pool-names T24ConnectionFactoryBROWSER and T24ConnectionFactorySWIFT respectively.
<subsystem xmlns="urn:jboss:domain:resource-adapters:1.1">
<resource-adapters>
<resource-adapter id="tocfT24ra-ra.rar">
<archive>
tocfT24ra-ra.rar
</archive>
<transaction-support>XATransaction</transaction-support>
<config-property name="listenPort">
0
</config-property>
<config-property name="listenHost">
10.92.12.66
(/SitePages/Home.aspx)
</config-property>
<connection-definitions>
(/SitePages/supportinterface.aspx)
<connection-definition class-name="com.temenos.tocf.t24ra.outbound.T24ManagedConnectionFactory"
jndi-name="java:/jca/t24ConnectionFactoryBROWSER" pool-name="T24ConnectionFactoryBROWSER">
<config-property name="ports">
(/TCSPProfileCenter/infodefault.aspx)
9595
</config-property>
(/Support/DashBoard.aspx)
<config-property name="actionTimeout">
60
(/OpenSourcePortal/SitePages/Home.aspx)
</config-property>
<config-property name="allowInput">
false
</config-property>
<config-property name="envVariables">
OFS_SOURCE=BROWSERTC
</config-property>
<config-property name="compressionThreshold">
2048
</config-property>
<config-property name="hosts">
127.0.0.1
</config-property>
<config-property name="charset">
ISO-8859-1
</config-property>
<config-property name="compression">
true
</config-property>
<config-property name="loadBalancing">
false
</config-property>
</connection-definition>
<connection-definition class-
name="com.temenos.tocf.t24ra.outbound.T24ManagedConnectionFactory" jndi- Was this page
name="java:/jca/t24ConnectionFactorySWIFT" pool-name="T24ConnectionFactorySWIFT">
<config-property name="ports">
9596
</config-property> Yes
<config-property name="actionTimeout">
https://tcsp.temenos.com/HowTo/ListenerConfiguration.aspx 2/19
10/3/2021 Configuring T24 Browser and Listener in JBoss 6.XX EAP using TOCF(EE)
60
</config-property>
<config-property name="allowInput">
false
</config-property>
<config-property name="envVariables">
OFS_SOURCE=SWIFTIN
</config-property>
<config-property name="compressionThreshold">
2048
</config-property>
<config-property name="hosts">
127.0.0.1
</config-property>
<config-property name="charset">
ISO-8859-1
</config-property>
<config-property name="compression">
true
</config-property>
<config-property name="loadBalancing">
false
(/SitePages/Home.aspx)
</config-property>
</connection-definition>
(/SitePages/supportinterface.aspx)
</connection-definitions>
</resource-adapter>
</resource-adapters>
(/TCSPProfileCenter/infodefault.aspx)
</subsystem>
(/Support/DashBoard.aspx)
Create the required JMS Queues and default queues for connecting T24 environment with T24 Browser and
Listener under <Hornetq-server>
(/OpenSourcePortal/SitePages/Home.aspx)
<subsystem xmlns="urn:jboss:domain:messaging:1.4">
<hornetq-server>
…..
…...
<jms-destinations>
<jms-queue name="t24OFSQueue">
<entry name="queue/t24OFSQueue"/>
<entry name="java:jboss/exported/jms/queue/t24OFSQueue"/>
</jms-queue>
<jms-queue name="t24OFSReplyQueue">
<entry name="queue/t24OFSReplyQueue"/>
<entry name="java:jboss/exported/jms/queue/t24OFSReplyQueue"/>
</jms-queue>
<jms-queue name="requestQueue">
<entry name="queue/requestQueue"/>
<entry name="java:jboss/exported/jms/queue/requestQueue"/>
</jms-queue>
<jms-queue name="responseQueue">
<entry name="queue/responseQueue"/>
<entry name="java:jboss/exported/jms/queue/responseQueue"/>
</jms-queue>
<jms-queue name="t24OFSQueueBROWSER">
<entry name="queue/t24OFSQueueBROWSER"/>
<entry name="java:jboss/exported/jms/queue/t24OFSQueueBROWSER"/>
</jms-queue> Was this page
<jms-queue name="t24OFSReplyQueueBROWSER">
<entry name="queue/t24OFSReplyQueueBROWSER"/>
<entry name="java:jboss/exported/jms/queue/t24OFSReplyQueueBROWSER"/>
Yes
</jms-queue>
https://tcsp.temenos.com/HowTo/ListenerConfiguration.aspx 3/19
10/3/2021 Configuring T24 Browser and Listener in JBoss 6.XX EAP using TOCF(EE)
Deployment of Components:
Step 2:
<jboss-web>
<!--
(/SitePages/Home.aspx)
<security-domain>java:/jaas/T24</security-domain>
(/SitePages/supportinterface.aspx)
-->
<!--Start - Enable the below security domain and valves configuration only when SSO with SAML and ADFS is enabled
(/TCSPProfileCenter/infodefault.aspx)
-->
(/Support/DashBoard.aspx)
<!-- <security-domain>tsp</security-domain>
(/OpenSourcePortal/SitePages/Home.aspx)
<valve>
<class-
name>org.picketlink.identity.federation.bindings.tomcat.sp.ServiceProviderAuthenticator</class-name>
<resource-ref>
<res-ref-name>jca/t24ConnectionFactory</res-ref-name>
<res-type>com.temenos.tocf.t24ra.T24ConnectionFactory</res-type>
<jndi-name>java:/jca/t24ConnectionFactoryBROWSER</jndi-name>
<!-- For JBoss AS7 or EAP 6 comment the line above and uncomment the line below -->
<!--
</resource-ref>
<resource-ref>
https://tcsp.temenos.com/HowTo/ListenerConfiguration.aspx 4/19
10/3/2021 Configuring T24 Browser and Listener in JBoss 6.XX EAP using TOCF(EE)
</resource-ref>
<resource-ref>
<res-ref-name>queue/t24OFSQueue</res-ref-name>
<res-type>javax.jms.Queue</res-type>
<!-- For JBoss AS7 or EAP 6 comment the line above and uncomment the line below -->
<jndi-name>java:/queue/t24OFSQueueBROWSER</jndi-name>
</resource-ref>
<resource-ref>
<res-ref-name>queue/t24OFSReplyQueue</res-ref-name>
<res-type>javax.jms.Queue</res-type>
<!-- For JBoss AS7 or EAP 6 comment the line above and uncomment the line below -->
(/SitePages/Home.aspx)
<jndi-name>java:/queue/t24OFSReplyQueueBROWSER</jndi-name>
(/SitePages/supportinterface.aspx)
</resource-ref>
</jboss-web>
(/TCSPProfileCenter/infodefault.aspx)
(/Support/DashBoard.aspx)
Edit the jboss-web.xml file present under the (..\jboss-eap-6.XX\standalone\deployments\BrowserWeb.war\WEB-INF) as
shown below to Browser.
(/OpenSourcePortal/SitePages/Home.aspx)
Tenvironment
Step 3:
Edit the jboss-deployment-structure.xml file present under the (..\jboss-eap-
6.XX\standalone\deployments\BrowserWebUAT.war\WEB-INF) and (..\jboss-eap-
6.XX\standalone\deployments\BrowserWebPROD.war\WEB-INF) as shown below
<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.1">
<deployment>
<!-- for TAFC in JBoss AS7 or EAP 6 uncomment the line below -->
<dependencies>
</dependencies>
<!--Enable the below configuration only when SSO with SAML and ADFS is enabled-->
<!-- Exclusions allow you to prevent the server from automatically adding some
Yes
dependencies -->
https://tcsp.temenos.com/HowTo/ListenerConfiguration.aspx 5/19
10/3/2021 Configuring T24 Browser and Listener in JBoss 6.XX EAP using TOCF(EE)
<exclusions>
</exclusions>
</deployment>
</jboss-deployment-structure>
Step 4:
Install the TOCFEE and do the following configurations. Please check the below configuration files to have the same values
for the queues mentioned in standalone-full.xml and jboss-web.xml.
Here we are going to configure listener as batchfilelistener for processing swift messages along with for browser
configuration.
(/OpenSourcePortal/SitePages/Home.aspx)
description of this file -->
<TCSERVER>
<ADAPTERS>
<!--
This type of adapter 'TOCF' will process requests using the message endpoint (tocflistener-mdb) that activated the
plugin. An adapter stance will process messages using at most one tocflistener-mdb. If you require more than one
tocflistener-mdb configuration to be called (for different listeners) then you must configure one ADAPTER instance per
tocflistener-mdb.
-->
<!--
-->
<!-- Configure the number of threads that will deliver messages to the associated tocflistener-mdb -->
https://tcsp.temenos.com/HowTo/ListenerConfiguration.aspx 6/19
10/3/2021 Configuring T24 Browser and Listener in JBoss 6.XX EAP using TOCF(EE)
Configure the charset of the incoming messages. By default the tocflistner is expecting to receive messages encoded
in the Java platform default Charset. You may either use a request formatter to change the messages format to the
default encoding or inform the tocflistener of the encoding of the message using the following parameter.Please
make sure appropriate encoded files [UTF-8 / ISO-8859-1] to be given to the listeners. In case if use UTF-8 charset , all
request files must be in UTF-8 Compatible. Commenting this attribte all type of requests will be processed platform
specific encoding.
<CHARSET>UTF-8</CHARSET>
-->
<!--
Configure the number of seconds this adapter will wait for the processing of a message. NOTE - this adapter delivers
messages the tocflistener-mdb which in turn delivers the message to the ofsRequestQueue for processing. The
following timeout should be a value longer than the total time for this processing including the possible retries
of the ofsmessage-mdb. See the TOCF(EE) user guide for more details.
-->
<TIMEOUT>60</TIMEOUT>
<!--
(/SitePages/Home.aspx)
(/SitePages/supportinterface.aspx)
Configure the Number of Seconds , the JMS Message will live in a Queue
Set '0' , Means ,we are setting Request/Response JMS Message should live infinite period in a Request / Response
Queue
(/TCSPProfileCenter/infodefault.aspx)
Set '40', Means ,We are setting Request/Response JMS Message should live a specific period in a Request / Response
(/Support/DashBoard.aspx)
Queue
(/OpenSourcePortal/SitePages/Home.aspx)
Set ' ', Means <MESSAGETTL><MESSAGETTL> will set DEFAULT 30 Secs for Request/Response Messages
Note: It should be less than the value of TIMEOUT. prefered Level 60 Secs
-->
<MESSAGETTL>40</MESSAGETTL>
</ADAPTER>
<REQUEST_FORMATTER>OFSML</REQUEST_FORMATTER>
<RESPONSE_FORMATTER>OFSML</RESPONSE_FORMATTER>
<MAX_SESSION>5</MAX_SESSION>
<MIN_SESSION>5</MIN_SESSION>
<TIMEOUT>60</TIMEOUT>
<MESSAGETTL>40</MESSAGETTL>
</ADAPTER>
<MIN_SESSION>5</MIN_SESSION>
Yes
<TIMEOUT>60</TIMEOUT>
https://tcsp.temenos.com/HowTo/ListenerConfiguration.aspx 7/19
10/3/2021 Configuring T24 Browser and Listener in JBoss 6.XX EAP using TOCF(EE)
<MESSAGETTL>40</MESSAGETTL>
</ADAPTER>
</ADAPTERS>
<MESSAGEFORMATTERS>
<!--================================================
=================================================-->
<FROM>CP838</FROM>
<TO>UTF-8</TO>
</MESSAGEFORMATTER>
<FROM>UTF-8</FROM>
(/SitePages/Home.aspx)
<TO>CP838</TO>
(/SitePages/supportinterface.aspx)
</MESSAGEFORMATTER>
<MESSAGEFORMATTER Id="my_appender" type="appender">
(/TCSPProfileCenter/infodefault.aspx)
<PREFIX>DECARRIER=SWIFT,</PREFIX>
(/Support/DashBoard.aspx)
</MESSAGEFORMATTER>
(/OpenSourcePortal/SitePages/Home.aspx)
<MESSAGEFORMATTER Id="crlf" type="crlfformatter">
<CRTAG><Cr></CRTAG>
<LFTAG><Lf></LFTAG>
</MESSAGEFORMATTER>
</MESSAGEFORMATTERS>
<LISTENERS>
<ADAPTERID>T24_SWIFT</ADAPTERID>
<REQUEST_FORMATTER>my_appender,crlf</REQUEST_FORMATTER>
<DIR_IN>C:\swiftrequests</DIR_IN>
<DIR_OUT>C:\swiftresponses</DIR_OUT>
<DIR_ERR>C:\swifterrors</DIR_ERR>
<MAX_PROCESS>0</MAX_PROCESS>
<EXTENSION_INDEX>idx</EXTENSION_INDEX>
Was this page
<EXTENSION_TOPROCESS>txt</EXTENSION_TOPROCESS>
<EXTENSION_PROCESSED>pro</EXTENSION_PROCESSED>
Yes
https://tcsp.temenos.com/HowTo/ListenerConfiguration.aspx 8/19
10/3/2021 Configuring T24 Browser and Listener in JBoss 6.XX EAP using TOCF(EE)
<EXTENSION_ERROR>err</EXTENSION_ERROR>
<EXTENSION_RESPONSE>rsp</EXTENSION_RESPONSE>
<REQ_SEPARATOR>$</REQ_SEPARATOR>
<SORT_DIRECTORY>false</SORT_DIRECTORY>
<DELETE_SOURCE>false</DELETE_SOURCE>
</LISTENER>
<ADAPTERID>T24</ADAPTERID>
<PORT>7099</PORT>
</LISTENER>
<ADAPTERID>T24</ADAPTERID>
<DIR_IN>C:\temp\sv\ofsrequests</DIR_IN>
(/SitePages/Home.aspx)
<DIR_OUT>C:\temp\sv\ofsresponses</DIR_OUT>
(/SitePages/supportinterface.aspx)
<DIR_ERR>C:\temp\sv\ofserrors</DIR_ERR>
<MAX_PROCESS>0</MAX_PROCESS>
(/TCSPProfileCenter/infodefault.aspx)
<EXTENSION_INDEX>idx</EXTENSION_INDEX>
(/Support/DashBoard.aspx)
<EXTENSION_TOPROCESS>tpr</EXTENSION_TOPROCESS>
(/OpenSourcePortal/SitePages/Home.aspx)
<EXTENSION_PROCESSED>pro</EXTENSION_PROCESSED>
<EXTENSION_ERROR>err</EXTENSION_ERROR>
<EXTENSION_RESPONSE>rsp</EXTENSION_RESPONSE>
<REQ_SEPARATOR>lf</REQ_SEPARATOR>
<SORT_DIRECTORY>true</SORT_DIRECTORY>
<DELETE_SOURCE>true</DELETE_SOURCE>
</LISTENER>
<ADAPTERID>T24_formatter</ADAPTERID>
<DIR_IN>C:\temp\sv\ofsmlrequests</DIR_IN>
<DIR_OUT>C:\temp\sv\ofsmlresponses</DIR_OUT>
<DIR_ERR>C:\temp\sv\ofsmlerrors</DIR_ERR>
<MAX_PROCESS>0</MAX_PROCESS>
<EXTENSION_INDEX>idx</EXTENSION_INDEX>
Was this page
<EXTENSION_TOPROCESS>tpr</EXTENSION_TOPROCESS>
<EXTENSION_PROCESSED>pro</EXTENSION_PROCESSED>
Yes
https://tcsp.temenos.com/HowTo/ListenerConfiguration.aspx 9/19
10/3/2021 Configuring T24 Browser and Listener in JBoss 6.XX EAP using TOCF(EE)
<EXTENSION_ERROR>err</EXTENSION_ERROR>
<EXTENSION_RESPONSE>rsp</EXTENSION_RESPONSE>
<REQ_SEPARATOR>lf</REQ_SEPARATOR>
<SORT_DIRECTORY>true</SORT_DIRECTORY>
<DELETE_SOURCE>true</DELETE_SOURCE>
</LISTENER>
<ADAPTERID>T24</ADAPTERID>
<PORT>10003</PORT>
<STREAM_PROVIDER>FileInputStreamProvider</STREAM_PROVIDER>
<UPLOAD_PATH>C:\temp\doc</UPLOAD_PATH>
<STREAM_WRITER>FileOutputStreamWriter</STREAM_WRITER>
(/SitePages/Home.aspx)
</LISTENER>
(/SitePages/supportinterface.aspx)
<LISTENER id="DbUploadDownloadChannel" type="tcp" active="false">
<ADAPTERID>T24</ADAPTERID>
(/TCSPProfileCenter/infodefault.aspx)
<PORT>10004</PORT>
(/Support/DashBoard.aspx)
<DBINOUT>
(/OpenSourcePortal/SitePages/Home.aspx)
<DATASOURE_NAME>jdbc/T24DS</DATASOURE_NAME>
<!--
-->
<ID_COLUMN_NAME>RECID</ID_COLUMN_NAME>
<DATA_COLUMN_NAME>XMLRECORD</DATA_COLUMN_NAME>
</DBINOUT>
<STREAM_PROVIDER>DbInputStreamProvider</STREAM_PROVIDER>
<STREAM_WRITER>DbOutputStreamWriter</STREAM_WRITER>
</LISTENER>
</LISTENERS>
</TCSERVER>
Note: Other listeners can be set to 'FALSE' if it's not required. Was this page
2. jboss-ejb3.xml inside …tocfee.ear\tocflistener-ejb.jar\META-INF\ make sure to create MDB for SWIFT as given
below and mention the listener id created in tcserver.xml
Yes
https://tcsp.temenos.com/HowTo/ListenerConfiguration.aspx 10/19
10/3/2021 Configuring T24 Browser and Listener in JBoss 6.XX EAP using TOCF(EE)
<jee:message-driven>
<jee:ejb-name>OFSListenerMDBSWIFT</jee:ejb-name>
<activation-config>
<activation-config-property>
<activation-config-property-name>listener</activation-config-property-name>
<activation-config-property-value>SWIFT</activation-config-property-value>
</activation-config-property>
</activation-config>
<jee:resource-ref>
<jee:res-ref-name>jms/jmsConnectionFactory</jee:res-ref-name>
<jee:jndi-name>java:/ConnectionFactory</jee:jndi-name>
</jee:resource-ref>
<jee:resource-ref>
(/SitePages/Home.aspx)
(/SitePages/supportinterface.aspx)
<jee:res-ref-name>queue/t24OFSQueue</jee:res-ref-name>
<jee:jndi-name>java:/queue/t24OFSQueueSWIFT</jee:jndi-name>
(/TCSPProfileCenter/infodefault.aspx)
</jee:resource-ref>
(/Support/DashBoard.aspx)
<jee:resource-ref>
(/OpenSourcePortal/SitePages/Home.aspx)
<jee:res-ref-name>queue/t24OFSReplyQueue</jee:res-ref-name>
<jee:jndi-name>java:/queue/t24OFSReplyQueueSWIFT</jee:jndi-name>
</jee:resource-ref>
</jee:message-driven>
<jee:assembly-descriptor>
<mdb:resource-adapter-binding>
<jee:ejb-name>OFSListenerMDB</jee:ejb-name>
<mdb:resource-adapter-name>tocfee.ear#tocfplugin-ra.rar</mdb:resource-adapter-
name>
</mdb:resource-adapter-binding>
<mdb:resource-adapter-binding>
<jee:ejb-name>CustomDownloadListenerMDB</jee:ejb-name>
<mdb:resource-adapter-name>tocfee.ear#tocfplugin-ra.rar</mdb:resource-adapter-
Was this page
name>
</mdb:resource-adapter-binding>
Yes
<mdb:resource-adapter-binding>
https://tcsp.temenos.com/HowTo/ListenerConfiguration.aspx 11/19
10/3/2021 Configuring T24 Browser and Listener in JBoss 6.XX EAP using TOCF(EE)
<jee:ejb-name>OFSListenerMDBSWIFT</jee:ejb-name>
<mdb:resource-adapter-name>tocfee.ear#tocfplugin-ra.rar</mdb:resource-adapter-
name>
</mdb:resource-adapter-binding>
</jee:assembly-descriptor>
3. ejb-jar.xml inside …tocfee.ear\tocflistener-ejb.jar\META-INF\ make sure to create MDB for SWIFT as given below
and mention the listener id created in tcserver.xml
<message-driven id="MessageDriven_OFSListenerMDBSWIFT">
<ejb-name>OFSListenerMDBSWIFT</ejb-name>
<ejb-class>com.temenos.tocf.listener.mdb.TOCFListenerMDB</ejb-class>
<messaging-type>com.temenos.tocf.common.jca.OFSMessageListener</messaging-type>
<transaction-type>Bean</transaction-type>
(/SitePages/Home.aspx)
<activation-config>
(/SitePages/supportinterface.aspx)
<activation-config-property>
<activation-config-property-name>listener</activation-config-property-name>
(/TCSPProfileCenter/infodefault.aspx)
<activation-config-property-value>SWIFT</activation-config-property-value>
(/Support/DashBoard.aspx)
</activation-config-property>
(/OpenSourcePortal/SitePages/Home.aspx)
</activation-config>
<res-ref-name>jms/jmsConnectionFactory</res-ref-name>
<res-type>javax.jms.QueueConnectionFactory</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</message-driven>
4. jboss-ejb3.xml inside …tocfee.ear\tocfOFSMessage-ejb.jar\META-INF\ make sure to create MDB for both both T24
Browser and for batchfile listener.
<message-driven>
<ejb-name>OFSMessageMDBBROWSER</ejb-name>
<activation-config>
<activation-config-property>
<activation-config-property-name>destinationType</activation-config-property-name>
<activation-config-property-value>javax.jms.Queue</activation-config-property-value>
</activation-config-property>
<activation-config-property>
<activation-config-property-name>destination</activation-config-property-name>
(/SitePages/Home.aspx)
<activation-config-property-value>java:/queue/t24OFSQueueBROWSER</activation-config-property-
(/SitePages/supportinterface.aspx)
value>
</activation-config-property>
(/TCSPProfileCenter/infodefault.aspx)
<activation-config-property>
(/Support/DashBoard.aspx)
<activation-config-property-name>acknowledgeMode</activation-config-property-name>
(/OpenSourcePortal/SitePages/Home.aspx)
<activation-config-property-value>Auto-acknowledge</activation-config-property-value>
</activation-config-property>
</activation-config>
<resource-ref>
<res-ref-name>jms/jmsConnectionFactory</res-ref-name>
<jndi-name>java:/ConnectionFactory</jndi-name>
</resource-ref>
<resource-ref>
<res-ref-name>queue/t24OFSReplyQueue</res-ref-name>
<jndi-name>java:/queue/t24OFSReplyQueueBROWSER</jndi-name>
</resource-ref>
<resource-ref>
<res-ref-name>eis/t24ConnectionFactory</res-ref-name>
<jndi-name>java:/jca/t24ConnectionFactoryBROWSER</jndi-name>
Was this page
</resource-ref>
</message-driven>
Yes
<message-driven>
https://tcsp.temenos.com/HowTo/ListenerConfiguration.aspx 13/19
10/3/2021 Configuring T24 Browser and Listener in JBoss 6.XX EAP using TOCF(EE)
<ejb-name>OFSMessageMDBSWIFT</ejb-name>
<activation-config>
<activation-config-property>
<activation-config-property-name>destinationType</activation-config-property-name>
<activation-config-property-value>javax.jms.Queue</activation-config-property-value>
</activation-config-property>
<activation-config-property>
<activation-config-property-name>destination</activation-config-property-name>
<activation-config-property-value>java:/queue/t24OFSQueueSWIFT</activation-config-property-value>
</activation-config-property>
<activation-config-property>
<activation-config-property-name>acknowledgeMode</activation-config-property-name>
<activation-config-property-value>Auto-acknowledge</activation-config-property-value>
(/SitePages/Home.aspx)
</activation-config-property>
(/SitePages/supportinterface.aspx)
</activation-config>
<resource-ref>
(/TCSPProfileCenter/infodefault.aspx)
<res-ref-name>jms/jmsConnectionFactory</res-ref-name>
(/Support/DashBoard.aspx)
<jndi-name>java:/ConnectionFactory</jndi-name>
(/OpenSourcePortal/SitePages/Home.aspx)
</resource-ref>
<resource-ref>
<res-ref-name>queue/t24OFSReplyQueue</res-ref-name>
<jndi-name>java:/queue/t24OFSReplyQueueSWIFT</jndi-name>
</resource-ref>
<resource-ref>
<res-ref-name>eis/t24ConnectionFactory</res-ref-name>
<jndi-name>java:/jca/t24ConnectionFactorySWIFT</jndi-name>
</resource-ref>
</message-driven>
5. ejb-jar.xml inside …tocfee.ear\tocfOFSMessage-ejb.jar\META-INF\ make sure to create MDB for Browser and
Batchfile listener for SWIFT processing as given below
<message-driven id="MessageDriven_OfsMessageMDBBROWSER">
https://tcsp.temenos.com/HowTo/ListenerConfiguration.aspx 14/19
10/3/2021 Configuring T24 Browser and Listener in JBoss 6.XX EAP using TOCF(EE)
<messaging-type>javax.jms.MessageListener</messaging-type>
<transaction-type>Bean</transaction-type>
<message-destination-type>javax.jms.Queue</message-destination-type>
<activation-config>
<activation-config-property>
<activation-config-property-name>acknowledgeMode</activation-config-property-name>
<activation-config-property-value>Auto-acknowledge</activation-config-property-value>
</activation-config-property>
</activation-config>
<res-ref-name>jms/jmsConnectionFactory</res-ref-name>
<res-type>javax.jms.QueueConnectionFactory</res-type>
(/SitePages/Home.aspx)
<res-auth>Container</res-auth>
(/SitePages/supportinterface.aspx)
</resource-ref>
<resource-ref id="ResourceRef_t24ConnectionFactoryBROWSER">
(/TCSPProfileCenter/infodefault.aspx)
<description>T24 JCA Connection Factory</description>
(/Support/DashBoard.aspx)
<res-ref-name>eis/t24ConnectionFactory</res-ref-name>
(/OpenSourcePortal/SitePages/Home.aspx)
<res-type>com.temenos.tocf.t24ra.T24ConnectionFactory</res-type>
<res-auth>Container</res-auth>
</resource-ref>
<res-ref-name>queue/t24OFSReplyQueue</res-ref-name>
<res-type>javax.jms.Queue</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</message-driven>
<message-driven id="MessageDriven_OfsMessageMDBSWIFT">
<ejb-name>OFSMessageMDBSWIFT</ejb-name>
<ejb-class>com.temenos.tocf.ofsmessage.mdb.OFSMessageMDB</ejb-class>
Was this page
<messaging-type>javax.jms.MessageListener</messaging-type>
<transaction-type>Bean</transaction-type>
Yes
https://tcsp.temenos.com/HowTo/ListenerConfiguration.aspx 15/19
10/3/2021 Configuring T24 Browser and Listener in JBoss 6.XX EAP using TOCF(EE)
<message-destination-type>javax.jms.Queue</message-destination-type>
<activation-config>
<activation-config-property>
<activation-config-property-name>acknowledgeMode</activation-config-property-name>
<activation-config-property-value>Auto-acknowledge</activation-config-property-value>
</activation-config-property>
</activation-config>
<res-ref-name>jms/jmsConnectionFactory</res-ref-name>
<res-type>javax.jms.QueueConnectionFactory</res-type>
<res-auth>Container</res-auth>
</resource-ref>
(/SitePages/Home.aspx)
<resource-ref id="ResourceRef_t24ConnectionFactorySWIFT">
(/SitePages/supportinterface.aspx)
<description>T24 JCA Connection Factory</description>
<res-ref-name>eis/t24ConnectionFactory</res-ref-name>
(/TCSPProfileCenter/infodefault.aspx)
<res-type>com.temenos.tocf.t24ra.T24ConnectionFactory</res-type>
(/Support/DashBoard.aspx)
<res-auth>Container</res-auth>
(/OpenSourcePortal/SitePages/Home.aspx)
</resource-ref>
<res-ref-name>queue/t24OFSReplyQueue</res-ref-name>
<res-type>javax.jms.Queue</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</message-driven>
1. To connect to the T24 environment using T24 Browser, we need to start jbase_agent with the port number (9595) as
specified in standalone-full.xml.
Was this page
jsh R15 ~ -->jbase_agent -p 9595
2. To process the SWIFT message, we need to start jbase_agent with the port number (9596) as specified in
standalone-full.xml. Yes
https://tcsp.temenos.com/HowTo/ListenerConfiguration.aspx 16/19
10/3/2021 Configuring T24 Browser and Listener in JBoss 6.XX EAP using TOCF(EE)
Starting of JBoss
To start jBoss run following command from JBOSS_HOME/bin:
(/SitePages/Home.aspx)
http://<ipaddress_of_webserver>:8081/BrowserWeb/servlet/BrowserServlet
(/SitePages/supportinterface.aspx)
(http://10.92.12.66:8081/BrowserWeb/servlet/BrowserServlet
(http://10.92.12.66:8081/BrowserWeb/servlet/BrowserServlet))
(/TCSPProfileCenter/infodefault.aspx)
(/Support/DashBoard.aspx)
(/OpenSourcePortal/SitePages/Home.aspx)
Yes
2. To process the swift message, place the swift message as txt file in the path given in Batchfilelistener.
https://tcsp.temenos.com/HowTo/ListenerConfiguration.aspx 17/19
10/3/2021 Configuring T24 Browser and Listener in JBoss 6.XX EAP using TOCF(EE)
(/SitePages/Home.aspx)
(/SitePages/supportinterface.aspx)
(/TCSPProfileCenter/infodefault.aspx)
Swiftresponses directory.
(/Support/DashBoard.aspx)
(/OpenSourcePortal/SitePages/Home.aspx)
Yes
https://tcsp.temenos.com/HowTo/ListenerConfiguration.aspx 18/19
10/3/2021 Configuring T24 Browser and Listener in JBoss 6.XX EAP using TOCF(EE)
(/SitePages/Home.aspx)
From T24, check whether the file is generated under F.SWIFT.IN.LIST which will later get cleared if the SWIFT related
(/SitePages/supportinterface.aspx)
services are running.
(/TCSPProfileCenter/infodefault.aspx)
(/Support/DashBoard.aspx)
(/OpenSourcePortal/SitePages/Home.aspx)
Yes
https://tcsp.temenos.com/HowTo/ListenerConfiguration.aspx 19/19