T24Outbound
T24Outbound component sends an OFS message to the T24 server and sends the received response to the output port.
T24 components are used to perform core banking operations. It offers comprehensive and flexible business functionality for banking software applications.
Component Configuration and Testing
Runtime configuration
Figure 1 above displays the panel with runtime configuration.
Error handling configuration
For setting up Error Handling Configurations, please refer to the respective sections in the Common Configurations page.
T24 Connection Type
Select the connection type from the following options available:
Web Service
Micro Service uses a Web Service interface of T24 to publish the OFS message.TAFC
Micro Service connects to the TAFC (Temenos Application Framework C-version) to publish the OFS message. To make this work, we have to install and run the TAFC.
TAFJ-EJB
Micro Service connects to the TAFJ (Temenos Application Framework J-version) to publish the OFS message. To make this run, we have to deploy the TAFJ into JBOSS (version 7 or above).
To use this EJB approach, we have to add the following jars which are part of the TAFJ deployment:- t24-OFSConnectorService-Data.jar
- t24-OFSConnectorService-ejb.jar
- tComponentFramework.jar
OFS Connector Service WSDL URL
This option is applicable for Web Service connection type.
Location of the OFS Connector Service WSDL. This can be provided as a URL or attached as a file
This will be used to process the OFS message.
T24 Authentication Configuration
T24 Username
The User Name with which the connection to the T24 Web Service interface is made
T24 Password
Password for the user as specified by the property T24 User Name.
T24 Company Code
Company Code to connect T24. This property is optional.
The properties Integration Flow Service WSDL URL, T24 Username, T24 Password, T24 Company code are visible only when T24 Connection Type property is set to 'Web Service'.
TAFC Connection Configuration
The Tafc Connection Configuration panel helps to provide details of the TAFC Agent interface.
The TAFC Connection Configuration property is visible only when T24 Connection Type property is set to 'TAFC'.
TAFJ Connection Configuration
The Tafj Connection Configuration window helps to provide details of the JBoss application server to use the TAFJ-EJB interface.
The TAFC Connection Configuration property is visible only when T24 Connection Type property is set to 'TAFJ'.
Expert Properties
Pre Processing XSL Configuration
Pre Processing XSL configuration can be used to transform the request message before processing it. Click the ellipses button against the property to configure the properties.
Refer to the Pre/Post Processing XSL Configuration section under the Common Configurations page for details regarding Pre Processing XSL configuration and Post Processing XSL configuration (below).
Post Processing XSL Configuration
Post Processing XSL configuration can be used to transform the response message before sending it to the output port.
Process Message Based on Property
The property helps components to skip certain messages from processing.
Refer to the Process Message Based On a Property section under the Common Configurations page.
Use Connection Details From Input
Parameters to create the connection can be specified in the input message when this property is set to true. If this property is selected and valid properties are not provided even in the input message, an exception will be thrown at runtime. The new connection properties given in the input message will override the values given in the CPS configuration for connection creation.
The sample input format for different connection types which has to be used on the input message is given below
Web service
1) When the WSDL File has to be loaded from the hard disk location at runtime, below is the sample input format which has to be used when this property is enabled.<Message> <T24ConnectionType>TAFC</T24ConnectionType> <ConnectionProperties> <WebService> <OFSConnectorWSDLConfig> <LoadWSDLFrom>File</LoadWSDLFrom> <WSDLLocation>C:\Users\Admin\Desktop\AutoService.wsdl</WSDLLocation> </OFSConnectorWSDLConfig> <T24AuthenticationConfig> <T24UserName>T24UserName</T24UserName> <T24Password>T24Password</T24Password> <T24CompanyCode>T24CompanyCode</T24CompanyCode> </T24AuthenticationConfig> </WebService> </ConnectionProperties> <Body>ActualMessageToBeSent</Body> </Message>
2) When the WSDL File has to be loaded from a given URL at runtime, below is the sample input format that has to be used when this property is enabled.<Message> <T24ConnectionType>TAFC</T24ConnectionType> <ConnectionProperties> <WebService> <OFSConnectorWSDLConfig> <LoadWSDLFrom>URL</LoadWSDLFrom> <WSDLLocation>http://192.168.10.8:1880/bcwsgateway/services/Auto_created_Service?wsdl</WSDLLocation> </OFSConnectorWSDLConfig> <T24AuthenticationConfig> <T24UserName>T24UserName</T24UserName> <T24Password>T24Password</T24Password> <T24CompanyCode>T24CompanyCode</T24CompanyCode> </T24AuthenticationConfig> </WebService> </ConnectionProperties> <Body>MessagetobeSent</Body> </Message>
TAFC
<T24ConnectionType>TAFC</T24ConnectionType> <ConnectionProperties> <TAFC> <TAFCConfiguration> <UserName>UserName</UserName> <Password>Password</Password> <TAFCAgentConnectionProperties> <TAFCAgentProperty> <Name>Ports</Name> <Value>3002</Value> </TAFCAgentProperty> <TAFCAgentProperty> <Name>IdleTimeout</Name> <Value>20000</Value> </TAFCAgentProperty> </TAFCAgentConnectionProperties> </TAFCConfiguration> </TAFC> </ConnectionProperties> <Body>MessagetobeSent</Body> </Message>
TAFJ-EJB
<Message> <T24ConnectionType>TAFJ-EJB</T24ConnectionType> <ConnectionProperties> <TAFJ-EJB> <TAFJConfiguration> <SecurityPrincipal>SecurityPrincipal</SecurityPrincipal> <SecurityPassword>SecurityPassword</SecurityPassword> <NodeName>NodeName</NodeName> <TAFJAgentConnectionProperties> <TAFJAgentProperty> <Name>java.naming.provider.url</Name> <Value>remote://localhost:4447</Value> </TAFJAgentProperty> <TAFJAgentProperty> <Name>java.naming.factory.initial</Name> <Value>org.jboss.naming.remote.client.InitialContextFactory</Value> </TAFJAgentProperty> </TAFJAgentConnectionProperties> </TAFJConfiguration> </TAFJ-EJB> </ConnectionProperties> <Body>MessagetobeSent</Body> </Message>
Threadpool Configuration
This property is used when there is a need to process messages in parallel within the component, still maintaining the sequence from the external perspective.
Refer to the Threadpool Configuration section under the Common Configurations page.
Connection Pool Configuration
Please refer the Connection Pool Params section in the Common Configurations page.
Create Connections After Idle Time
This Property is used only when Connection Pool Configuration is enabled. Enabling this property will automatically create a New Connection object after the existing connection object is destroyed from the Connection pool after the Idle Wait period. This property is more useful when connection creation on the server side takes more time than usual. Hence Connections are created automatically after they get destroyed and available at the connection pool for the next request to process.
Functional Demonstration
Scenario
Configure the T24Outbound component as described in the Configuration and Testing section to process OFS messages and use the Feeder and Display components to send sample input and check the response respectively.
Input Message
CUSTOMER,INPUT/I/PROCESS,USER1/******,,SHORT.NAME:1:1=Peter,NAME.1:1:1=Peter Jhonson,SECTOR:1:1=1001,GENDER:1:1=MALE,MNEMONIC:1:1=C10000092