Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-9003

Allow multiple producers with differing request timeouts

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.15.3, 2.16.0
    • Component/s: camel-netty, camel-netty4
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      User reported that Camel is 'caching' the timeout setting on outgoing netty calls, so the first call out it would be using the correct timeout setting, but subsequent outgoing calls with different timeout settings Camel would still use the same initial timeout given instead of the new one.
      So usually you would override these kind of things in headers for each request... but you can't just change the timeout value for each call in netty, you'd have to reconstruct the entire channel pipeline... which would be a bit expensive

      Solution is to add requestTimeout to key for ProducerCache so we get distinct producers with different requestTimeout values.

        Attachments

          Activity

            People

            • Assignee:
              janstey Jonathan Anstey
              Reporter:
              janstey Jonathan Anstey
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: