Uploaded image for project: 'Spring Web Services'
  1. Spring Web Services
  2. SWS-838

HttpComponentsMessageSender: Use the PoolingClientConnectionManager instead of the deprecated ThreadSafeClientConnManager

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.3
    • Fix Version/s: 2.1.4
    • Component/s: Core
    • Labels:
      None

      Description

      HttpComponentsMessageSender (no argument constructor):

      The ThreadSafeClientConnManager is deprecated since Apache HttpClient 4.2.
      The recommendation is to use the PoolingClientConnectionManager instead.

      ########################################

      If I use the HttpComponentsMessageSender constructor with the HttpClient argument, then I can't add the RemoveSoapHeadersInterceptor to the HttpClient object (which extends the AbstractHttpClient) because this HttpRequestInterceptor is a private inner class.

      Therefore I can't see a workaround to use the PoolingClientConnectionManager.

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              arjen.poutsma Arjen Poutsma
              Reporter:
              martin.wegner@ebp.de Martin Wegner
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: