Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to listen with multiple port for multiple client in single JPOS instance?

Tags:

java

jpos

iso8583

I am new in JPOS. We have implemented jpos server for multiple clients.

here is a image of my scenario

For example, we have n number of clients. ISO message format are different for each client.

Is it possible to implement multiple listening port for each client in JPOS server?

If no, then what will be the best practice to process multiple client with single JPOS server instance?

How can we identify each client while processing ECHO and Sign-on request?

Please help.

Thanks in advance.

like image 937
kahamad Avatar asked Oct 16 '22 20:10

kahamad


2 Answers

Absolutely, why not, you can add as many servers as you want, with different protocols. Take a look at http://jpos.org/tutorials and just add more servers to your deploy directory.

like image 188
apr Avatar answered Oct 19 '22 08:10

apr


You can certainly add multiple q2 servers.

Just add another xml definition of a q2 server in your dist folder, jPOS would immediately pick up the new server and start listening to your specified port.

like image 40
rokonoid Avatar answered Oct 19 '22 10:10

rokonoid