Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

ISO8583 Inbound endpoint allows the ISO8583 standard messages through WSO2 ESB. ISO8583 is a message standard which is using in financial transactions. There are various versions in ISO8583 standard, Here the Inbound is developed based on 1987 version. For more information about ISO8583 Standard, go to ISO8583 Documentation.

...

The inbound configuration can be added in the Inbound UI . Here the Port is the main  parameter and the client need to connect with inbound by using the port.

Image Modified

Code Block
languagehtml/xml
<inboundEndpoint
        class="org.wso2.carbon.inbound.iso8583.listening.ISO8583MessageConsumer"
        name="custom_listener" onError="fault" sequence="request" suspend="false">
        <parameters>
            <parameter name="sequential">true</parameter>
            <parameter name="inbound.behavior">listening</parameter>
            <parameter name="port">5000</parameter>
        </parameters>
</inboundEndpoint>

...

Info
titleNote

To handle the concurrent messages in inbound , need to create the threadpool and it can contain a varying amount of threads. The number of threads in the pool is determined by these variables:

  • corePoolSize           : The number of threads to keep in the pool , even if they are idle.
  • maximumPoolSize  : The maximum number of threads to allow in the pool.

Another parameter in threadPool configuration is keepAliveTime, Which is the maximum time that excess idle threads will be alive for new tasks before terminating.  


ParameterDescriptionRequiredPossible ValuesDefault Value
portHosts have ports, socket connection will create according to that port and server started to listening to that port , once the socket connection is established.Yes0-655355000
coreThreadsThe number of threads to keep in the pool.No
  


maxThreadsThe maximum number of  threads to allow in the pool.No
  


keepAliveIf the pool currently has more than corePoolSize threads, excess threads will be terminated if they have been idle for more than the keepAliveTime.No
  


Info
titleNote

To send ISO8583 Standard message to inbound, can use

java 

Java  clients applications. client need to produce the ISO8583 Standard messages and get the acknowledgement from inbound.

...

A Sample test client program is provided in https://github.com/wso2-docs/CONNECTORS/tree/master/ISO8583/ISO8583TestClient. You can use this sample client to test the inbound.