Uploaded image for project: 'Synapse'
  1. Synapse
  2. SYNAPSE-817

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0
    • 2.1
    • Core
    • None
    • Not important

    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

          Activity

            People

              kasun.indrasiri Kasun Indrasiri
              konzerva Lukas Valenta
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: