Posts

Showing posts with the label jPOS Client

Creating an ISO8583 Client using jPOS Q2

Image
Creating an ISO8583 Client using jPOS Q2 is really simple compared to Spring Integration or Netty. Unlike both Spring Integration or Netty, jPOS is specialized messaging with ISO 8583 format. There are a bunch of utility classes and modules we can use, but please read the jPOS licence before you decide to use jPOS for commercial usage. Ok, let’s start with the purpose of this tutorial, we are going to create an ISO8583 Client using jPOS Q2 . Basically all we need to do is create a mux and channel configuration, but we should know what happens when we send a request and receive a response. Below diagram describes the flow when we send requests using mux on jPOS Q2. We can get the mux instance by calling QMux.getMux(“my-mux-name”) and calling mux.request(reqMsg, timeout) to send a request and wait for the response. In the mux point of view, we are sending and receiving the response synchronously, but correlation happens in the queue space. When we are calling the m...