100% found this document useful (1 vote)
289 views

Inward Swift Message Processing JbossEAP TAFJ

This document provides instructions for setting up a listener to process incoming Swift messages in the Temenos Open Core Framework (TOCF) environment deployed on JBoss Enterprise Application Platform (EAP). It outlines deploying required components like the TOCF and TAFJ files and axis2.war on JBoss EAP and configuring the tocfee.ear file to enable Swift message processing. It also notes that the latest TOCF distribution pack needs to be obtained from the vendor to get the correct files.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
289 views

Inward Swift Message Processing JbossEAP TAFJ

This document provides instructions for setting up a listener to process incoming Swift messages in the Temenos Open Core Framework (TOCF) environment deployed on JBoss Enterprise Application Platform (EAP). It outlines deploying required components like the TOCF and TAFJ files and axis2.war on JBoss EAP and configuring the tocfee.ear file to enable Swift message processing. It also notes that the latest TOCF distribution pack needs to be obtained from the vendor to get the correct files.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 31

Inward Swift Message processing JbossEAP TAFJ https://basecamp.temenos.com/s/article-detail/a042K00001KIr7gQAD/inward-swift-message-...

((//ss//)) C
Coom
mmmu
unniittyy LLeea
arrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))

Inward Swift Message processing JbossEAP TAFJ


Explore product details, discuss issues, find the latest news, and
contribute to best practices.

How to (/s/how-to)  >  Inward Swift Message processing JbossEAP TAFJ

        
Rate Like Bookmark

(/s/profile/0056A000000izetQAA) IIn
nwwa
arrd
d Sw
wiifftt M e
essssa
agge
epprro
occe
essssiin
ngg Jb
boossssEEA PP TTA
AF J
Vinay Jain - Admin (/s/profile/0056A000000izetQAA)  •  Apr 14, 2021  •  Technology > Core Infra > System Core (EB)

      31

Inward Swift Message processing JbossEAP TAFJ

Introduction
The purpose of this document is to setup a listener for processing the Inward swift messages in TOCF(EE) which later will be deployed in Jboss EAP.

Deployment of Components in Jboss


Kindly make ensure that the following files:
1.         tocfT24ra-ra.rar
2.         TAFJJEE_EAR.ear
3.         tocfee.ear
4.         standalone.xml
5.         axis2.war

Note:
1. TOCF(EE) will contain both tocfT24ra-ra.rar and tocfee.ear files.
2. To get the latest TOCF(EE) pack, kindly mail to the distribution team through [email protected] (mailto:[email protected]) by mentioning the T24
release.

1 of 31 2/10/2023, 8:16 PM
Inward Swift Message processing JbossEAP TAFJ https://basecamp.temenos.com/s/article-detail/a042K00001KIr7gQAD/inward-swift-message-...

The components will get deployed once the JBoss is started.


((//ss//)) C
Coom
mmmu
unniittyy LLeea
arrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))

Configuration in tocfee.ear file :


If TAFJ then it's not required to keep the delivery-ejb.jar and tocfOFSmessage-ejb.jar and hence remove both the files from tocfee.ear pack as well as remove the entries
from application.xml and jboss-deployment-structure.xml files (which are present inside the tocfee.ear\META-INF)

11))     EEd
diitt a
appp
plliicca
attiio
onn..xxm
mll

C
Coom
mmmeen
ntt//rreem
moovvee tth
hee een
nttrriieess rreella
atteed
d tto
o tto
occffO
OFFSSm
meessssa
aggee--eejjb
b..jja
arr a
annd
dddeelliivveerryy--eejjb
b..jja
arr..
 

2 of 31 2/10/2023, 8:16 PM
Inward Swift Message processing JbossEAP TAFJ https://basecamp.temenos.com/s/article-detail/a042K00001KIr7gQAD/inward-swift-message-...

<?xml version="1.0" encoding="UTF-8"?>


((//ss//)) C
Coom
mmmu
unniittyy LLeea
arrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))
<application id="tocfeeEAR" version="5" xmlns="http://java.sun.com/xml/ns/javaee"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xsi:schemaLocation="http://java.sun.com/xml/ns/javaee

http://java.sun.com/xml/ns/javaee/application_5.xsd">

<display-name>TOCF-EE_EAR</display-name>

<module>

<connector>tocfplugin-ra.rar</connector>

</module>

<module>

<ejb>tocflistener-ejb.jar</ejb>

</module>

<!-- <module>

<ejb>tocfOFSmessage-ejb.jar</ejb>

</module>

<module>

<ejb>delivery-ejb.jar</ejb>

</module> -->

<library-directory>lib</library-directory>

</application>

22))     EEd
diitt jjb
boossss--d
deep
pllo
oyym
meen
ntt--ssttrru
uccttu
urree..xxm
mll

  C
Coom
mmmeen
ntt//rreem
moovvee tth
hee een
nttrriieess rreella
atteed
d tto
o tto
occffO
OFFSSm
meessssa
aggee--eejjb
b..jja
arr a
annd
dddeelliivveerryy--eejjb
b..jja
arr..

3 of 31 2/10/2023, 8:16 PM
Inward Swift Message processing JbossEAP TAFJ https://basecamp.temenos.com/s/article-detail/a042K00001KIr7gQAD/inward-swift-message-...

<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.2">
((//ss//)) C
Coom
mmmu
unniittyy LLeea
arrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))
<!-- for top deployment, e.g. ear -->

<deployment>

<!-- Adding Resource Adapter As Explicit Module Dependency for all sub-deployment Will access -->

<dependencies>

<module name="deployment.tocfT24ra-ra.rar" export="TRUE"/>

</dependencies>

<!-- Exclusions allow you to prevent the server from automatically adding some dependencies -->

<exclusions>

<module name="org.apache.log4j"/>

</exclusions>

</deployment>

<!-- for sub deployment, e.g. war. sub-deployment is required when ear contains one or more wars -->

<!-- <sub-deployment name="delivery-ejb.jar">

<exclusions>

<module name="org.apache.log4j" />

</exclusions>

</sub-deployment> à

<sub-deployment name="tocflistener-ejb.jar">

<exclusions>

<module name="org.apache.log4j" />

</exclusions>

</sub-deployment>

<!-- <sub-deployment name="tocfOFSmessage-ejb.jar">

<exclusions>

4 of 31 2/10/2023, 8:16 PM
Inward Swift Message processing JbossEAP TAFJ https://basecamp.temenos.com/s/article-detail/a042K00001KIr7gQAD/inward-swift-message-...

<module name="org.apache.log4j" />

((//ss//)) C
Coom
mmmu
unniittyy LLeea
arrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))
</exclusions> à

</sub-deployment>

<sub-deployment name="tocfplugin-ra.rar">

<exclusions>

<module name="org.apache.log4j" />

</exclusions>

</sub-deployment>

</jboss-deployment-structure>

3)     Open the tocfplugin-ra.rar inside tocfee.ear using 7-zip.

5 of 31 2/10/2023, 8:16 PM
Inward Swift Message processing JbossEAP TAFJ https://basecamp.temenos.com/s/article-detail/a042K00001KIr7gQAD/inward-swift-message-...

((//ss//)) C
Coom
mmmu
unniittyy LLeea
arrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))

4)     Edit the tcserver.xml(which is inside the Inside the tocfplugin-ra.rar) as below

6 of 31 2/10/2023, 8:16 PM
Inward Swift Message processing JbossEAP TAFJ https://basecamp.temenos.com/s/article-detail/a042K00001KIr7gQAD/inward-swift-message-...

((//ss//)) C
Coom
mmmu
unniittyy LLeea
arrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))

O
Oppeen
n ttccsseerrvveerr..xxm
mll iin
nssiid
dee tth
hee tto
occffp
pllu
uggiin
n--rra
a..rra
arr tto
oddeeffiin
nee tth
hee lliisstteen
neerr..
CCrreea
attee a
anna
adda
apptteerr ffo
orr BBa
attcch
hffiilleelliisstteen
neerr w
whhiicch
h iiss rreessp
poon
nssiib
bllee ffo
orr p
prro
occeessssiin
ngg tth
hee IIN
NWWA
ARRD
D ssw
wiifftt m
meessssa
aggeess ffrro
omm tth
hee ffiilleess..
In the below section, we have added SWIFTIN adapter as part of the ADAPTERS section.

7 of 31 2/10/2023, 8:16 PM
Inward Swift Message processing JbossEAP TAFJ https://basecamp.temenos.com/s/article-detail/a042K00001KIr7gQAD/inward-swift-message-...

<ADAPTERS>
((//ss//)) C
Coom
mmmu
unniittyy LLeea
arrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))

<ADAPTER id="SWIFTIN" type="TOCF" active="true">

<!--

<REQUEST_FORMATTER>Thai2UTF, OFSML, UTF2Thai</REQUEST_FORMATTER>

<RESPONSE_FORMATTER>Thai2UTF, OFSML, UTF2Thai</RESPONSE_FORMATTER>

-->

<MAX_SESSION> 5 </MAX_SESSION>

<MIN_SESSION> 1 </MIN_SESSION>

<TIMEOUT>30</TIMEOUT>

<MESSAGETTL>40</MESSAGETTL>

</ADAPTER>

….

</ADAPTERS>

 
Create a message formatter for SWIFT message processing,

8 of 31 2/10/2023, 8:16 PM
Inward Swift Message processing JbossEAP TAFJ https://basecamp.temenos.com/s/article-detail/a042K00001KIr7gQAD/inward-swift-message-...

<MESSAGEFORMATTERS>
((//ss//)) C
Coom
mmmu
unniittyy LLeea
arrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))
….

<MESSAGEFORMATTER Id="my_appender" type="appender">

<PREFIX>DECARRIER=SWIFT,</PREFIX>

</MESSAGEFORMATTER>

<MESSAGEFORMATTER Id="crlf" type="crlfformatter">

<CRTAG>&lt;Cr&gt;</CRTAG>

<LFTAG>&lt;Lf&gt;</LFTAG>

</MESSAGEFORMATTER>

<MESSAGEFORMATTERS>

CCrreeaattee a a lliisstteenneerr cca alllleed


d ''BBFFLLSSWWIIFFTT'' w
wiitth
h ttyyp pee ''b
baattcch
hffiilleelliisstteenneerr''..
IIn
n tth
hee lliisstteen neerrss sseeccttiioon naad ddd RREEQ QU UEESSTT__FFO ORRM MA ATTTTEERR a
ass w weellll a ass ddeeffiinnee tth
hee AADDAAPPTTEERRIID
Dwwhhiicch
hwwee h ha
add ccrreea atteed
d iin
n tthhee ssaam mee ttccsseerrvveerr..xxm
mll.. TTh
heen
n tth
hee rreesstt o
off tth
hee tth
hiin
nggss
aarree ssa
am mee..
TThhee bbaattcch hlliisstteen
neerr iiss uusseedd tto op piicckk tth
hee ffiilleess ((w
whhiicchhw wiillll cco
on ntta aiin
n tth hee IIn
nwwaarrd
d ssw
wiifftt m
meessssa
aggee)) ffrro
ommp pa
arrttiiccuulla
arr d
diirreecctto
orryy..

9 of 31 2/10/2023, 8:16 PM
Inward Swift Message processing JbossEAP TAFJ https://basecamp.temenos.com/s/article-detail/a042K00001KIr7gQAD/inward-swift-message-...

<LISTENERS>
((//ss//)) C
Coom
mmmu
unniittyy LLeea
arrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))

<LISTENER id="BFLSWIFT" type="batchfilelistener" active="true">

<ADAPTERID>SWIFTIN</ADAPTERID>

<REQUEST_FORMATTER>my_appender,crlf</REQUEST_FORMATTER>

<DIR_IN>C:\Temenos\CMD.IN</DIR_IN>

<DIR_OUT>C:\Temenos\CMD.OUT</DIR_OUT>

<DIR_ERR>C:\Temenos\CMD.ERR</DIR_ERR>

<MAX_PROCESS>0</MAX_PROCESS>

<EXTENSION_INDEX>idx</EXTENSION_INDEX>

<EXTENSION_TOPROCESS>txt</EXTENSION_TOPROCESS>

<EXTENSION_PROCESSED>pro</EXTENSION_PROCESSED>

<EXTENSION_ERROR>err</EXTENSION_ERROR>

<EXTENSION_RESPONSE>rsp</EXTENSION_RESPONSE>

<REQ_SEPARATOR>$</REQ_SEPARATOR>

<SORT_DIRECTORY>true</SORT_DIRECTORY>

<DELETE_SOURCE>true</DELETE_SOURCE>

</LISTENER>

<LISTENERS>

IIn
nssiid
dee tth
hee tto
occffeeee..eea
arr\\tto
occfflliisstteen
neerr--eejjb
b..jja
arr p
pa acckk,, ffiin
ndd tth
hee M
MEETTA
A--IIN
NFF//eejjb
b--jja arr..xxm
mll ffiillee n
neeeed
d tto
oggiivvee tth
hee lliisstteen
neerr iid
dwwh
hiicch
hwwee d
deeffiin
need
d ffo
orr b
baattcch
hffiilleelliisstteen
neerr..
CCrreeaattee o
onnee mmeessssa aggee--ddrriivveen nb beea
ann ffoorr SSW WIIFFTT lliisstteen
neerr a
annd
dddeeffiin
nee tth
hee lliisstteenneerr iid
d..

10 of 31 2/10/2023, 8:16 PM
Inward Swift Message processing JbossEAP TAFJ https://basecamp.temenos.com/s/article-detail/a042K00001KIr7gQAD/inward-swift-message-...

isplay-name>
((//ss//)) C
Coom
mmmu
unniittyy LLeea
arrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))
<enterprise-beans>

….

….

<!-- BFL Configuration -->

<message-driven id="MessageDriven_OFSListenerMDBSWIFT">

<display-name>OFSListener Bean SWIFT</display-name>

<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>

<activation-config>

<activation-config-property>

<activation-config-property-name>listener</activation-config-property-name>

<activation-config-property-value>BFLSWIFT</activation-config-property-value>

</activation-config-property>

</activation-config>

<resource-ref id="ResourceRef_OFSListenerMDB_jmsQueueConnectionFactorySWIFT">

<res-ref-name>jms/jmsConnectionFactory</res-ref-name>

<res-type>javax.jms.QueueConnectionFactory</res-type>

<res-auth>Container</res-auth>

</resource-ref>

<resource-ref id="ResourceRef_OFSListenerMDB_t24OFSQueueSWIFT">

<description>OFS queue</description>

11 of 31 2/10/2023, 8:16 PM
Inward Swift Message processing JbossEAP TAFJ https://basecamp.temenos.com/s/article-detail/a042K00001KIr7gQAD/inward-swift-message-...

<res-ref-name>queue/t24OFSQueue</res-ref-name>

((//ss//)) C
Coom
mmmu
unniittyy LLeea
arrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))
<res-type>javax.jms.Queue</res-type>

<res-auth>Container</res-auth>

</resource-ref>

<resource-ref id="ResourceRef_OFSListenerMDB_t24OFSReplyQueueSWIFT">

<description>OFS reply queue</description>

<res-ref-name>queue/t24OFSReplyQueue</res-ref-name>

<res-type>javax.jms.Queue</res-type>

<res-auth>Container</res-auth>

</resource-ref>

</message-driven>

….

….

</enterprise-beans>

</ejb-jar>

NNoottee:: Kindly set 'false' for the listeners which is not being used and remove the listeners id from the tocflisteners-ejb.jar/META-INF/ejb-jar.xml file as well as remove the
Message-driven bean section if not required.
IIn
nssiid
dee tth
hee tto
occffeeee..eea
arr\\tto
occfflliisstteen
neerr--eejjb
b..jja
arr p
paacckk,, ffiin
ndd tth
hee M
MEETTA
A--IIN
NFF//jjb
boossss--eejjb
b33..xxm
mii b
biin
nddiin
ngg ffiillee n
neeeed
d tto
omma
app tth
hee cco
orrrreessp
poon
nddiin
nggq
quueeu
ueess..

12 of 31 2/10/2023, 8:16 PM
Inward Swift Message processing JbossEAP TAFJ https://basecamp.temenos.com/s/article-detail/a042K00001KIr7gQAD/inward-swift-message-...

<?xml version="1.0"?>
((//ss//)) C
Coom
mmmu
unniittyy LLeea
arrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))
<jboss:ejb-jar xmlns:jboss="http://www.jboss.com/xml/ns/javaee"

xmlns:jee="http://java.sun.com/xml/ns/javaee"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee http://www.jboss.org/j2ee/schema/jboss-ejb3-2_
0.xsd

http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_1.xsd"

xmlns:mdb="urn:resource-adapter-binding"

version="3.1"

impl-version="2.0">

<!-- jBoss 7 specific configuration files -->

<jee:enterprise-beans>

<!-- Listener MDB Instance -->

….

….

<!-- SWIFT message processing -->

<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>BFLSWIFT</activation-config-property-value>

</activation-config-property>

</activation-config>

<jee:resource-ref>

<jee:res-ref-name>jms/jmsConnectionFactory</jee:res-ref-name>

13 of 31 2/10/2023, 8:16 PM
Inward Swift Message processing JbossEAP TAFJ https://basecamp.temenos.com/s/article-detail/a042K00001KIr7gQAD/inward-swift-message-...

<jee:jndi-name>java:/ConnectionFactory</jee:jndi-name>
((//ss//)) C
Coom
mmmu
unniittyy LLeea
arrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))

</jee:resource-ref>

<jee:resource-ref>

<jee:res-ref-name>queue/t24OFSQueue</jee:res-ref-name>

<jee:jndi-name>java:/queue/t24SWIFTQueue</jee:jndi-name>

</jee:resource-ref>

<jee:resource-ref>

<jee:res-ref-name>queue/t24OFSReplyQueue</jee:res-ref-name>

<jee:jndi-name>java:/queue/t24SWIFTReplyQueue</jee:jndi-name>

</jee:resource-ref>

</jee:message-driven>

</jee:enterprise-beans>

<jee:assembly-descriptor>

<!-- MDB and Plugin RA bindings -->

<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-name>

</mdb:resource-adapter-binding>

<mdb:resource-adapter-binding>

<jee:ejb-name>OFSListenerMDBSWIFT</jee:ejb-name>

<mdb:resource-adapter-name>tocfee.ear#tocfplugin-ra.rar</mdb:resource-adapter-name>

14 of 31 2/10/2023, 8:16 PM
Inward Swift Message processing JbossEAP TAFJ https://basecamp.temenos.com/s/article-detail/a042K00001KIr7gQAD/inward-swift-message-...

</mdb:resource-adapter-binding>

((//ss//)) C
Coom
mmmu
unniittyy LLeea
arrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))

</jee:assembly-descriptor>

</jboss:ejb-jar>

AAdddd tth hee qquueeuueess cco on


nffiig
gu urraattiio
onn iin
n ssttaanndda allo
onnee..xxmmll::
NNoottee:: sstta
annddaallo
onnee..xxm
mll iiss tth
hee cco onnffiig
guurraattiio
onn ffiillee w
wee h ha
avvee u
usseed
d ffoorr ddeeffiin
niin
ngg tth
hee d
daatta
assoou urrcceess,, qqu ueeu
ueess,, eettcc..,, IItt m
ma ayy bbee ddiiffffeerr b
baasseed
doon
n yyo
ouurr cco
onnffiig
guurra
attiio
onn sso
o
mmo oddiiffyy tth
hee tth
hiin
ngga acccco orrd
diinngg ttoo yyoou urr een
nvviirro
onnm meen ntt..
CCrreeaattee rreeqquueesstt a
annd d rreeppllyy q
qu ueeu
ueess ffoorr SSWWIIFFTT m meessssa aggeess p
prro
occeessssiin
nggu un nddeerr hho
orrn
neettq
q--sseerrvveerr''ss <<jjm
mss--ddeessttiinna attiio on
nss>> sseeccttiio
onn
  

<jms-destinations>

….

….

<jms-queue name="t24SWIFTQueue">

<entry name="queue/t24SWIFTQueue"/>

<entry name="java:jboss/exported/jms/queue/t24SWIFTQueue"/>

</jms-queue>

<jms-queue name="t24SWIFTReplyQueue">

<entry name="queue/t24SWIFTReplyQueue"/>

<entry name="java:jboss/exported/jms/queue/t24SWIFTReplyQueue"/>

</jms-queue>

….

….

</jms-destinations>

</hornetq-server>

</subsystem>

Configuration in TAFJEE_EAR.ear:
11..     A
An neew wM
Meessssa
aggee D
Drriivveen
n BBeea
ann ((M
MDDBB)) h
haass b
bee tto
ob bee iin
nttrro
oddu
ucceed
d iin
n tth
hee TTA
AFFJJJJEEEE__EEA
ARR..eea
arr ffiillee.. IIn
nssiid
dee TTA
AFFJJJJEEEE__EEA
ARR..eea
arr\\TTA
AFFJJJJEEEE__M
MDDBB..jja
arr\\M
MEETTA
A--IIN
NFF ,, o
oppeen
n tth
hee ffiillee
eejjb b--jja
arr..xxm
mll a
annd
daadddd tth
hee n neew
wM MDDBB aass ssh
hoowwnnb beello
oww

15 of 31 2/10/2023, 8:16 PM
Inward Swift Message processing JbossEAP TAFJ https://basecamp.temenos.com/s/article-detail/a042K00001KIr7gQAD/inward-swift-message-...

<!-- For SWIFT processing -->


((//ss//)) C
Coom
mmmu
unniittyy LLeea
arrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))
<message-driven>

<display-name>Transacted Listener MDB for SWIFT</display-name>

<ejb-name>SWIFTTransactedMDB</ejb-name>

<ejb-class>com.temenos.tafj.mdb.TransactedMDB</ejb-class>

<messaging-type>javax.jms.MessageListener</messaging-type>

<transaction-type>Container</transaction-type>

<message-destination-type>javax.jms.Queue</message-destination-type>

<ejb-local-ref>

<ejb-ref-name>ejb/OFSProcessingBeanLocal</ejb-ref-name>

<ejb-ref-type>Session</ejb-ref-type>

<local>com.temenos.tafj.sb.OFSProcessingBeanLocal</local>

<ejb-link>SWIFTProcessingBean</ejb-link>

</ejb-local-ref>

<resource-ref>

<description>Used to get connections to JMS for OFS queues

</description>

<res-ref-name>jms/TAFJQueueConnectionFactory</res-ref-name>

<res-type>javax.jms.ConnectionFactory</res-type>

<res-auth>Container</res-auth>

</resource-ref>

<message-destination-ref>

<description>SWIFT queue</description>

<message-destination-ref-name>jms/ReplyQueue</message-destination-ref-name>

<message-destination-type>javax.jms.Queue</message-destination-type>

16 of 31 2/10/2023, 8:16 PM
Inward Swift Message processing JbossEAP TAFJ https://basecamp.temenos.com/s/article-detail/a042K00001KIr7gQAD/inward-swift-message-...

<message-destination-usage>Produces</message-destination-usage>

((//ss//)) C
Coom
mmmu
unniittyy LLeea
arrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))
<message-destination-link>jms/t24SWIFTReplyQueue</message-destination-link>

</message-destination-ref>

</message-driven>

22..     TTh
hee ssa
ammee M MD DBB hhaass ttoob bee cco
on nffiig
guurreed
dw wiitth
h tthhee ccoorrrreessp
poon
nddiin
ngg JJN
NDDII n
naam
meess iin
nssiid
dee tth
hee ffiillee jjb
boossss--eejjb
b33..xxm
mll w
whhiicch
h iiss iin
nssiid
dee w
wiitth
h tth
hee
TTAAFFJJJJEEEE__EEA
ARR..eea
arr\\TTA
AFFJJJJEEEE__M
MD DBB..jja
arr\\MMEETTAA--IIN
NFF ffo
olld
deerr

17 of 31 2/10/2023, 8:16 PM
Inward Swift Message processing JbossEAP TAFJ https://basecamp.temenos.com/s/article-detail/a042K00001KIr7gQAD/inward-swift-message-...

<!-- For SWIFT processing -->


((//ss//)) C
Coom
mmmu
unniittyy LLeea
arrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))
<message-driven>

<ejb-name>SWIFTTransactedMDB</ejb-name>

<activation-config>

<activation-config-property>

<activation-config-property-name>destination</activation-config-property-name>

<activation-config-property-value>java:/queue/t24SWIFTQueue</activation-config-pro
perty-value>

</activation-config-property>

<activation-config-property>

<activation-config-property-name>maxSession</activation-config-property-name>

<activation-config-property-value>20</activation-config-property-value>

</activation-config-property>

</activation-config>

<resource-ref>

<res-ref-name>jms/TAFJQueueConnectionFactory</res-ref-name>

<res-type>javax.jms.ConnectionFactory</res-type>

<jndi-name>java:/JmsXA</jndi-name>

</resource-ref>

<message-destination-ref>

<message-destination-ref-name>jms/ReplyQueue</message-destination-ref-name>

<jndi-name>java:/queue/t24SWIFTReplyQueue</jndi-name>

</message-destination-ref>

</message-driven>

Now the customized MDB (SWIFTProcessingBean) has to be introduced in another jar file TAFJJEE_EJB.jar inside TAFJJEE_EAR.ear. Follow the below steps

33..     A
Addd
d tth
hee ccu
usstto
ommiizzeed
dMMD
DBB iin
n tth
hee ffiillee eejjb
b--jja
arr..xxm
mll w
whhiicch
h iiss iin
nssiid
dee TTA
AFFJJJJEEEE__EEA
ARR..eea
arr\\TTA
AFFJJJJEEEE__TT2244..jja
arr\\M
MEETTA
A--IIN
NFF ffo
olld
deerr a
ass ssh
hoow
wnnb
beello
oww

18 of 31 2/10/2023, 8:16 PM
Inward Swift Message processing JbossEAP TAFJ https://basecamp.temenos.com/s/article-detail/a042K00001KIr7gQAD/inward-swift-message-...

<!-- For SWIFT processing -->


((//ss//)) C
Coom
mmmu
unniittyy LLeea
arrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))
<session>

<description>TAFJ SWIFT Bean</description>

<display-name>TAFJ SWIFT Bean</display-name>

<ejb-name>SWIFTProcessingBean</ejb-name>

<business-local>com.temenos.tafj.sb.OFSProcessingBeanLocal</business-local>

<business-remote>com.temenos.tafj.sb.OFSProcessingBeanRemote</business-remote>

<ejb-class>com.temenos.tafj.sb.OFSProcessingBean</ejb-class>

<session-type>Stateless</session-type>

<transaction-type>Bean</transaction-type>

<!-- For tafj session -->

<env-entry>

<description>SWIFT OFS Source</description>

<env-entry-name>com.temenos.tafj.sb.OFSProcessingBean/ofsSource</env-entry-name>

<env-entry-type>java.lang.String</env-entry-type>

<env-entry-value>SWIFTIN</env-entry-value>

</env-entry>

<env-entry>

<env-entry-name>com.temenos.tafj.sb.OFSProcessingBean/ofsTimeout</env-entry-name>

<env-entry-type>java.lang.Integer</env-entry-type>

<env-entry-value>60</env-entry-value>

</env-entry>

<!-- for T24 purpose -->

<resource-ref>

<description>Used to get connections from T24 jdbc pool</description>

19 of 31 2/10/2023, 8:16 PM
Inward Swift Message processing JbossEAP TAFJ https://basecamp.temenos.com/s/article-detail/a042K00001KIr7gQAD/inward-swift-message-...

<res-ref-name>jdbc/t24DataSource</res-ref-name>

((//ss//)) C
Coom
mmmu
unniittyy LLeea
arrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))
<res-type>javax.sql.DataSource</res-type>

<res-auth>Container</res-auth>

</resource-ref>

<resource-ref>

<description>Used to get connections from jdbc locking pool</description>

<res-ref-name>jdbc/t24LockingDataSource</res-ref-name>

<res-type>javax.sql.DataSource</res-type>

<res-auth>Container</res-auth>

</resource-ref>

<resource-ref>

<description>Used to get connections from T24 jdbc RO pool</description>

<res-ref-name>jdbc/t24RODataSource</res-ref-name>

<res-type>javax.sql.DataSource</res-type>

<res-auth>Container</res-auth>

</resource-ref>

<!-- TEC feature -->

<resource-ref>

<description>Used to get connections to JMS for OFS queues</description>

<res-ref-name>jms/TopicConnectionFactory</res-ref-name>

<res-type>javax.jms.ConnectionFactory</res-type>

<res-auth>Container</res-auth>

</resource-ref>

<resource-ref>

<description>topic queue</description>

<res-ref-name>jms/tecEventsTopic</res-ref-name>

20 of 31 2/10/2023, 8:16 PM
Inward Swift Message processing JbossEAP TAFJ https://basecamp.temenos.com/s/article-detail/a042K00001KIr7gQAD/inward-swift-message-...

<res-type>javax.jms.Topic</res-type>
((//ss//)) C
Coom
mmmu
unniittyy LLeea
arrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))

<res-auth>Container</res-auth>

</resource-ref>

</session>

44..     N
Nooww cco onnffiig
guurree tth
hee d
daattaa sso
ouurrccee ffo
orr tth
hee ccu
usstto
ommiizzeed
dMMD
DBB iin
nssiid
dee tth
hee ffiillee jjb
boossss--eejjb
b33..xxm
mll ((ffo
orr W
Weeb
bssp
phheerree)) w
whhiicch
h iiss iin
nssiid
dee TTA
AFFJJJJEEEE__EEA
ARR..eea
arr\\TTA
AFFJJJJEEEE__TT2244..jja
arr
\\MMEETTA A--IIN
NFF\\ a
ass sshho ow
wn nbbeello
oww

21 of 31 2/10/2023, 8:16 PM
Inward Swift Message processing JbossEAP TAFJ https://basecamp.temenos.com/s/article-detail/a042K00001KIr7gQAD/inward-swift-message-...

<!-- For SWIFT processing -->


((//ss//)) C
Coom
mmmu
unniittyy LLeea
arrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))
<session>

<ejb-name>SWIFTProcessingBean</ejb-name>

<resource-ref>

<res-ref-name>jdbc/t24DataSource</res-ref-name>

<res-type>javax.sql.DataSource</res-type>

<jndi-name>java:/jdbc/t24DS</jndi-name>

</resource-ref>

<resource-ref>

<res-ref-name>jdbc/t24RODataSource</res-ref-name>

<res-type>javax.sql.DataSource</res-type>

<jndi-name>java:/jdbc/t24RODS</jndi-name>

</resource-ref>

<resource-ref>

<res-ref-name>jdbc/t24LockingDataSource</res-ref-name>

<res-type>javax.sql.DataSource</res-type>

<jndi-name>java:/jdbc/t24LockingDS</jndi-name>

</resource-ref>

<resource-ref>

<res-ref-name>jms/TopicConnectionFactory</res-ref-name>

<res-type>javax.jms.ConnectionFactory</res-type>

<jndi-name>java:/ConnectionFactory</jndi-name>

</resource-ref>

<resource-ref>

<res-ref-name>jms/tecEventsTopic</res-ref-name>

22 of 31 2/10/2023, 8:16 PM
Inward Swift Message processing JbossEAP TAFJ https://basecamp.temenos.com/s/article-detail/a042K00001KIr7gQAD/inward-swift-message-...

<res-type>javax.jms.Queue</res-type>

((//ss//)) C
Coom
mmmu
unniittyy LLeea
arrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))
<jndi-name>java:/topic/tecEventsTopic</jndi-name>

</resource-ref>

</session>

A
Afftteerr d
dooiin
ngg tth
hee a
abbo
ovvee cch
haan
nggeess,, d
deep
pllo
oyy a
allll tth
hee ffiilleess iin
nssiid
dee tth
hee <<JJBBO
OSSSS__H
HOOM
MEE>>//sstta
annd
daallo
onnee//d
deep
pllo
oyym
meen
nttss d
diirreecctto
orryy..

SStta
arrtt tth
hee D
Daatta
abba
assee ::
WWee h haavvee uusseed
dHH22 d
daattaab
baassee ffo
orr TT2244 TTA an
AFFJJ    a nd
d iitt h
haass b
beeeen
n sstta
arrtteed
daass ssh
hoow
wnnb
beello
oww

23 of 31 2/10/2023, 8:16 PM
Inward Swift Message processing JbossEAP TAFJ https://basecamp.temenos.com/s/article-detail/a042K00001KIr7gQAD/inward-swift-message-...

((//ss//)) C
Coom
mmmu
unniittyy LLeea
arrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))

SStta
arrtt tth
hee JJb
boossss::

24 of 31 2/10/2023, 8:16 PM
Inward Swift Message processing JbossEAP TAFJ https://basecamp.temenos.com/s/article-detail/a042K00001KIr7gQAD/inward-swift-message-...

((//ss//)) C
Coom
mmmu
unniittyy LLeea
arrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))

25 of 31 2/10/2023, 8:16 PM
Inward Swift Message processing JbossEAP TAFJ https://basecamp.temenos.com/s/article-detail/a042K00001KIr7gQAD/inward-swift-message-...

BBa
attcch
h FFiillee LLiisstteen
neerr::
((//ss//)) directory.
Place the inward swift file inside the Input CCo
ommmmu
unniittyy LLeea
arrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))

26 of 31 2/10/2023, 8:16 PM
Inward Swift Message processing JbossEAP TAFJ https://basecamp.temenos.com/s/article-detail/a042K00001KIr7gQAD/inward-swift-message-...

((//ss//)) C
Coom
mmmu
unniittyy LLeea
arrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))

27 of 31 2/10/2023, 8:16 PM
Inward Swift Message processing JbossEAP TAFJ https://basecamp.temenos.com/s/article-detail/a042K00001KIr7gQAD/inward-swift-message-...

Output file:
For swift messages, responses will be((/NULL.
/ss//)) C
Coom
mmmu
unniittyy LLeea
arrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))

28 of 31 2/10/2023, 8:16 PM
Inward Swift Message processing JbossEAP TAFJ https://basecamp.temenos.com/s/article-detail/a042K00001KIr7gQAD/inward-swift-message-...

((//ss//)) C
Coom
mmmu
unniittyy LLeea
arrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))

29 of 31 2/10/2023, 8:16 PM
Inward Swift Message processing JbossEAP TAFJ https://basecamp.temenos.com/s/article-detail/a042K00001KIr7gQAD/inward-swift-message-...

H
Heen
nccee tth
hee ffiillee iiss p
prro
occeesssseed
d ssu
ucccceessssffu
ullllyy..
M
Maakkee ssu
urree yyo
ouu rru
unn tth
hee sseerrvviiccee ''BBN
NK(K/ /S
(//sSW
/)WIIF
s/ ) FTT..IIN
N''
C
Co w
wh
omhiic
mm ch
muhun
w
wiillll
niittyyggeen
neerra
atteeea
LLetth
he
ar enFFTT eeiitth
rn heerPPr
r iin
ron
odH
HO
duOL
uc LD
ct D
so
ts orr LLIIV
VEE a
ac
TTrcc
co
ra or
aiin rd
diin
niin
nggngg tto
o tth
heeDsse
Do et
owtu
wnup
poa
nlloddo
on
ad
dsne
se a
att tth
hee SSu
TT2
24
ug4 ge
gglleev
ve
stell..
es t ((//ss//iid
deea
attiio
onn))

0 Comments

PPo
osstt Q
Quueessttiio
onn

Share an update... Share

Sort by:

Most Recent Activity Search this feed...

Collaborate here!
Here's where you start talking with your colleagues about this.

Supplier Information Terms of use Base Camp FAQ


www.temenos.com (https://www.temenos.com (https://www.temenos.com (https://basecamp.temenos.com Follow US
nformation /information-for- /legal-information /s/article-detail

30 of 31 2/10/2023, 8:16 PM
Inward Swift Message processing JbossEAP TAFJ https://basecamp.temenos.com/s/article-detail/a042K00001KIr7gQAD/inward-swift-message-...

suppliers/) /website-terms-and- /a046A000001lZe4QAE/temenos- (https://www.linkedin.com (https://www.linkedin.com (


((//ss//)) conditions/)
C
Coom
mmmuun
niittyy LLeea
arrn
n base-camp-faq)
PPrro
oddu
uccttss TTrra
aiin
niin
ngg /company/temenos)
DDo
owwn
nllo
oaad
dss SSu
uggg /company/temenos/)
geesstt ((//ss//iid
deea
attiio
onn)) /Temenos

31 of 31 2/10/2023, 8:16 PM

You might also like