Vous êtes sur la page 1sur 6

Swift configuration in Jboss

Information in this document is subject to change without notice. No part of this document may be reproduced or transmitted in any form or by any means, for any purpose, without the express written permission of TEMENOS HEADQUARTERS SA. COPYRIGHT 2007 - 2008 TEMENOS HEADQUARTERS SA. All rights reserved.

Swift configuration - JBoss

Table of Contents
Step 1: Deploying tocfee.ear file. ................................ ................................ .................... 3 Step 2: Extracting tocfee.ear file ................................ ................................ ..................... 3 Step 3: Creation of JCA connection factory creation ................................ ....................... 3 Step 4: Creating Queue ................................ ................................ ................................ .. 3 Step 5: Creation of message-driven ................................ ................................ ................ 4 Step 6:Creation of message -driven (tocflistener -ejb.jar) ................................ .................. 5 Step 7:Tcserver.xml configuration as follows below. ................................ ....................... 6 JBoss output : ................................ ................................ ................................ ................ 6

Swift configuration - JBoss

Step 1: Deploying tocfee.ear file.


Please place the tocfee.ear inside the ../server/default/deploy folder and extract the same in the same folder and remove the tocfee.ear file and rename the extracted folder name as tocfee.ear. Inside the tocfee.ear folder you will have the below details

Step 2: Extracting tocfee.ear file


Inside the tocfee.ear folder you will have these three ofsmessage-ejb.jar , tocflistener-ejb.jar , tocfplugin-ra.rar files. Please extract the same in the same folder with same name and extension and remove the original from this folder. After that you will get the below structure in the tocfee.ear folder.

Step 3: Creation of JCA connection factory creation


We will have the t24-ds.xml file reside in the server/default/deploy folder. Edit the xml file as shown below which will create the connection factory for your interface / listener.

Step 4: Creating Queue


We will have the t24-destinations-service.xml file reside in the server/default/deploy folder. Edit the xml file as shown below which will create the request and response queues for your interface / listener.

Swift configuration - JBoss

Step 5: Creation of message-driven


Edit the jboss.xml file as shown below which will be reside in the path of \server\default\deploy\tocfee.ear\ofsmessage-ejb.jar\META-INF Jboss.xml:
ejb-name should be unique for your interface , this same reference bean will be used in ejb-jar.xml

Corresponding request queue name should be given here which is already created in the t24-destinationsservice.xml

Corresponding reply queue name should be given here which is already created in the t24-destinationsservice.xml

Ejb-jar.xml:
The ejb-bean name should be the same which we have given in the jboss.xml file.

Swift configuration - JBoss

Step 6:Creation of message-driven (tocflistener-ejb.jar)


Edit the jboss.xml file as shown below whic h will be reside in the path of \server\default\deploy\tocfee.ear\tocflistener-ejb.jar\META-INF Jboss.xml:
The ejb-bean name should be the same which we have given in the jboss.xml file of the ofsmessage-ejb.jar file.

Ejb-jar.xml:

The ejb-bean name should be the same which we have given in the jboss.xml file of the ofsmessage-ejb.jar file.

Listener name given in the tcserver.xml.

Swift configuration - JBoss

Step 7:Tcserver.xml configuration as follows below.

After all above steps, start the jboss server and check the output f or the batch file listener.

JBoss output :