Uploaded image for project: 'ServiceMix Components'
  1. ServiceMix Components
  2. SMXCOMP-722

Http Component & Http Provider Endpoint do not offer a way to change the Jetty expiration time.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • servicemix-http-2008.01, servicemix-http-2009.01, servicemix-http-2009.02
    • 2010.02
    • servicemix-http
    • None
    • Patch Available

    Description

      A couple of weeks ago I submitted a patch that added support for Jetty Client Expiration (read timeout) on the Http Provider Endpoint :https://issues.apache.org/activemq/browse/SMXCOMP-717

      In most cases it is useful to be able to change the expiration time (the amount of time the endpoint will wait for response) on the component and the provider when using jettyClientPerProvider.

      I am attaching a patch that adds a new property called providerExpirationTime on HttpConfiguration and HttpProviderEndpoint.
      The patch also updates:
      The HttpComponent to save / load the property from the components.property file.
      The HttpProviderEndpoint so that it is possible to set this property explicitly per provider.

      Finally, it adds a new unit test that tests the above using the following scenarios:
      test expiration using providerExpirationTime set on HttpComponent configuration.
      test expiration using providerExpirationTime set on the provider.
      test no expiration.

      Attachments

        1. patchfile.txt
          34 kB
          Ioannis Canellos

        Activity

          People

            ffang Freeman Yue Fang
            iocanel Ioannis Canellos
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: