I have to restart the code everyday to connect to the server due to timeout. Is there any way we can dynamically do echo testing so the system will be alive.
--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/0cd86e44-35ea-48eb-8a68-87107ea5f90an%40googlegroups.com.
It highly depends on your implementation, by default the jPOS channel adaptor will autoreconnect, so restarting it wouldn’t be needed, so I wonder, how’s your setup?
Anyway, you still
don’t want to be reconnecting, so you need echoes, for that you
can use a LogonManager
.
Andrés Alcarraz
I have to restart the code everyday to connect to the server due to timeout. Is there any way we can dynamically do echo testing so the system will be alive.
The question is what is VTS doing.
That is providing the ticket your Channel connects to.
Do you have anything responding to 0800 from VTS not shown, you will need something otherwise, and perhaps to produce 0800 into VTS too, check its documented needs and status when things 'stop working'.
--
Mark
Sent from Proton Mail Android
I am using channel adaptor but dont konw if its working because I am testing from vts(visa test system) on my local. This is my channel apadtor. Do I need to add or change anything<?xml version="1.0" encoding="UTF-8"?>
<channel-adaptor name="visa-channel" class="org.jpos.q2.iso.ChannelAdaptor" logger="Q2">
<channel class="org.jpos.iso.channel.VAPChannel" type="client" logger="Q2"
realm="test-channel" packager="org.jpos.iso.packager.GenericPackager">
<property name="packager-config" value="packager/visa_iso87Binary.xml"/>
<property name="host" value="192.168.1.XX"/>
<property name="port" value="XXXX"/>
<property name="timeout" value="180000"/>
</channel>
<in>visa-send</in>
<out>visa-receive</out>
<reconnect-delay>10000</reconnect-delay>
<keep-alive>yes</keep-alive>
</channel-adaptor>
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/0a4cad80-0cb0-48ad-ada8-08fdffa79a50n%40googlegroups.com.
--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/8f05fb65-35d7-4ee2-9602-5827fcf8029c%40protonmail.com.
--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/8f05fb65-35d7-4ee2-9602-5827fcf8029c%40protonmail.com.