jPOS Server in-out

jPOS Server in-out HI!! i’m back, finally! hehe Hi, everybody! Its been a while from my last post. I almost forgot that i have this blog. 😀 So, in this post i will share about jPOS Server in-out, have you experienced a case where you as a server need to initiate request? it could be network management message. This post is related topic with my previous post about jPOS Client Receive Request From Remote Server We are lucky, jPOS can handle this case. all we need to do is to

Continue reading

jPOS Client Receive Response to Specific Port

Today, i want to share about jPOS Client Receive Response to Specific Port. In my current project integration between SOA and DSP, the basic requirment is, DSP will send request message(not define the request port) to SOA (as Server, SOA listen to spesific port) and DSP will receive the SOA response to the specific port(may different with request port). here the ilustration: The main idea is using Q2, and create standard jpos MUX to send request (without waiting the response), and create jpos org.jpos.q2.iso.QServer (that listen to specific port) for

Continue reading

JPos Server Forward Request Message to Another Server

Today i want to share about JPos Server Forward Request Message to Another Server. The Jpos server get request message from a client and then forward the message to another server for some purpose. Picture below show us the illustration: we will focuse on how Server A forward the message to the server B, and give response message to the client. First create file 10_server.xml <server class="org.jpos.q2.iso.QServer" logger="Q2" name="MyISOServer"> <attr name="port" type="java.lang.Integer">15500</attr> <attr name="maxSessions" type="java.lang.Integer">20</attr> <attr name="minSessions" type="java.lang.Integer">10</attr> <channel name="ClientChannel" class="org.jpos.iso.channel.NACChannel" logger="Q2" packager="com.mandiri.soa.ubp.UBPPackager" header="000000000000"> </channel> <request -listener class="com.mii.controller.ServerListener" logger="Q2"> <property

Continue reading