Hello All , I am trying to implement a production grade (or just a financial software switch) deployed
i am following jpos library and j8583 library
this is the code in main method..
Logger logger = new Logger (); logger.addListener (new SimpleLogListener (System.out)); ServerChannel channel = new XMLChannel (new XMLPackager()); ((LogSource)channel).setLogger (logger, "channel"); ISOServer server = new ISOServer (8082, channel, null); server.setLogger (logger, "server"); new Thread (server).start (); server.addISORequestListener(new TestISORequestListener());
here is the TestISORequestListener
public class TestISORequestListener implements ISORequestListener {
public boolean process (ISOSource source, ISOMsg m)
{
try
{
m.setResponseMTI ();
m.set (39, "00");
source.send (m);
}
catch (ISOException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
}
return true;
}
}
with this code i am able to post a message on telnet client on port 8082 with following output as attached in the image..
my question is :
-
where do i go from here onwards ? i want to implement a software switch but the documentation tells about JMX(Java Management Extensions ) Mbeans and Multiplexors. i dont understand these concepts. could someone please guide me about them.
-
How would i design a software switch (financial) as an acquirer based on multiple schemes and with support of HSM and keys such as LMK TMK TPK etc.
-
are there any tutorials available about implementing a scheme switch using jpos. using java programming language.
the code i implemented is here
https://github.com/umart94/jpos
i am stuck learning about JMX and HSM's. please guide. thank you.