简体   繁体   English

是否有(在 jpos 中)任何将 ISO 消息从一个版本转换为另一个版本的转换器?

[英]Is there (in jpos) any convertor which convert ISO message from one verion to another version?

I want to convert iso message version from 1987 to 1993 and vice versa using jpos.我想使用 jpos 将 iso 消息版本从 1987 年转换为 1993 年,反之亦然。 Is there any convertor present in jpos for it? jpos中是否有任何转换器?

I'm afraid there is no automatic way to do that in jpos, you should choose the iso87 version of the packager for the incoming side, and the iso93 version of the packager for the outgoing side.恐怕在jpos中没有自动方法可以做到这一点,您应该为传入端选择iso87版本的打包程序,为传出端选择iso93版本的打包程序。

But you will have to map fields according to the specifications of each of the interfaces.但是您必须根据每个接口的规范来映射字段。

If you are going to have more than two interfaces using different iso8583 specs I suggest you to read and implement jpos-CMF , and map your incoming messages to the CMF definition, and all your outgoing messages from that.如果您要使用不同的 iso8583 规范有两个以上的接口,我建议您阅读并实现jpos-CMF ,并将您的传入消息映射到 CMF 定义,以及来自该定义的所有传出消息。 I won't lie to you it's a lot of effort going field by field, but is the only way, there's no magically way to map every possible implementation of version 83 to every possible implementation of version 93, as there's no automatic way to do such mapping between two different systems using the same iso83 version but handling fields differently, for example the private ones.我不会骗你,逐个领域需要付出很多努力,但这是唯一的方法,没有神奇的方法可以将版本 83 的每个可能实现映射到版本 93 的每个可能实现,因为没有自动的方法使用相同 iso83 版本但处理字段不同的两个不同系统之间的这种映射,例如私有的。

Hope this point you in the right direction of what to do.希望这会为您指明正确的方向。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM