Endpoint timeout - documentation says 'in seconds', implementation counts with 
miliseconds
------------------------------------------------------------------------------------------

                 Key: SYNAPSE-817
                 URL: https://issues.apache.org/jira/browse/SYNAPSE-817
             Project: Synapse
          Issue Type: Bug
          Components: Endpoints
    Affects Versions: 2.0
         Environment: Not important
            Reporter: Lukas Valenta


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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to