You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Hiranya Jayathilaka (Resolved) (JIRA)" <ji...@apache.org> on 2011/12/19 09:42:30 UTC

[jira] [Resolved] (SYNAPSE-817) Endpoint timeout - documentation says 'in seconds', implementation counts with miliseconds

     [ https://issues.apache.org/jira/browse/SYNAPSE-817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hiranya Jayathilaka resolved SYNAPSE-817.
-----------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1

This has been resolved with the patch for SYNAPSE-743
                
> 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
>            Assignee: Kasun Indrasiri
>             Fix For: 2.1
>
>
> 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: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org