How should jPOS be configured/used in a prod environment?

匆匆过客 提交于 2019-11-30 04:58:02

问题


At my current company we are considering using jPOS to do our ISO 8583 integration with other systems. I've been reading the free documentation for a while, but I still have a lot of gaps. For instance:

  1. How is jPOS supposed to work in prod? Should I just start a Q2 server and it would act like and endpoint receiving or sending ISO8583 messages? How am I suppose to integrate that with my application server?

  2. In which cases and how should I use the jPOS Space?

  3. My basic use case is send/receive ISO messages. Do I need all of that stuff?

  4. Are there any other references out there or examples of this basic system that receives ISO 8583 messages, do some stuff and then replies in ISO8583 messages?

Thank you,


回答1:


  1. How is jPOS supposed to work in prod? Should I just start a Q2 server and it would act like and endpoint receiving or sending ISO8583 messages?

Yes, that's the preferred way.

How am I suppose to integrate that with my application server?

If your application server is based on OSGi, you can start Q2 as an OSGi bundle. Otherwise, you can just instantiate Q2 from your code and start it, i.e.:

Q2 q2 = new Q2("/path/to/your/deploy");
q2.start();

There's a good detailed thread on how to run jPOS as a JBoss SAR here: https://groups.google.com/forum/#!topic/jpos-users/Ro5wLB7qwKw - could be used as a reference for other app servers.

In which cases and how should I use the jPOS Space?

You don't have to, unless you find it useful. jPOS uses the spaces internally for inter-service communications.

Are there any other references out there or examples of this basic system that receives ISO 8583 messages, do some stuff and then replies in ISO8583 messages?

You may want to try the 'clientsimulator' and 'serversimulator' examples from the jPOS-EE project. You can find the documentation for those here: http://jpos.org/doc/jPOS-EE.pdf

You can find jPOS-EE here: http://github.com/jpos/jPOS-EE



来源:https://stackoverflow.com/questions/22362501/how-should-jpos-be-configured-used-in-a-prod-environment

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!