Description
Documentation ( http://synapse.apache.org/Synapse_Configuration_Language.html#address-endpoint ) says this:
<timeout>
<duration>timeout duration in seconds</duration>
<responseAction>discard|fault</responseAction>
</timeout>
So the timeout should be in seconds, but implementation works with miliseconds ( for example org.apache.synapse.config.xml.endpoints.EndpointFactory : 261 ). This costs me about 2 hours thinking why is message callback removed from the cache earlier than the response arrives (when it takes a few seconds to wait for a response, than the org.apache.synapse.core.axis2.TimeoutHandler removes it first).
Thank you for correcting the documentation.
Lukas Valenta
Attachments
Issue Links
- duplicates
-
SYNAPSE-743 Endpoint documentation has incorrect timeout description
- Resolved