[Yanel-dev] Connection and socket timeout for HttpResolver and XMLResource introduced
Michael Wechner
michael.wechner at wyona.com
Fri Mar 28 14:49:47 CET 2014
Hi
One can now configure inside an XML resource configuration a connection
and socket timeout, e.g.
<yanel:rti name="xml" namespace="http://www.wyona.org/yanel/resource/1.0"/>
<yanel:property name="socket-timeout" value="2000"/>
whereas this implemented inside
src/resources/xml/src/java/org/wyona/yanel/impl/resources/XMLResource.java
src/core/java/org/wyona/yanel/core/source/HttpResolver.java
This is very useful when a third party server is too slow responding and
hence one wants to make sure,
that Yanel itself does still respond rather quickly (and that actual
problem becomes obvious).
HTH
Michael
More information about the Yanel-development
mailing list