Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

How can I connect to network by establishing SSL sockets on JPos applications?

84 views
Skip to first unread message

Adnan Sohail

unread,
May 12, 2020, 3:42:12 PM5/12/20
to jPOS Users
Hi,

I want to connect to a third party using SSLSocket and by using JPos. How can I do that? Can anybody help?

Below is the client channel config file I am currently using.

<channel-adaptor name='ClientChannelAdaptor' class="org.jpos.q2.iso.ChannelAdaptor" logger="Q2">

    <channel class="org.jpos.iso.channel.NACChannel" packager="org.jpos.iso.packager.GenericPackager" name="ClientChannel">
        <property name="packager-config" value="packagers/iso-packager.xml" />
        <property name="host" value="192.168.1.138" />
        <property name="port" value="9500" />
        <property name="connection-timeout" value="90000" />
        <property name="timeout" value="90000" />
        <property name="keep-alive" value="true" />
    </channel>

    <in>channel-send</in>
    <out>channel-receive</out>
    <reconnect-delay>10000</reconnect-delay>

</channel-adaptor>



Regards,
Adnan Sohail

igor skljar

unread,
May 13, 2020, 5:34:07 PM5/13/20
to jPOS Users
Hi, Adnan

If you don`t want to read the http://jpos.org/doc/proguide-draft.pdf you can use  third party tools like stunnel or haproxy or f5 or nginx or something else.

вторник, 12 мая 2020 г., 22:42:12 UTC+3 пользователь Adnan Sohail написал:

Alejandro Revilla

unread,
May 20, 2020, 10:35:35 PM5/20/20
to jPOS Users
As Igor said, those are all good options, but if you care to read the doc, go to section 5.2 and you'll see you're missing a socketFactory property.


Reply all
Reply to author
Forward
0 new messages