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

          martin.wegner@ebp.de Martin Wegner created issue -
          arjen.poutsma Arjen Poutsma made changes -
          Field Original Value New Value
          Assignee Arjen Poutsma [ arjen.poutsma ]
          arjen.poutsma Arjen Poutsma made changes -
          Fix Version/s 2.1.4 [ 14119 ]
          Hide
          arjen.poutsma Arjen Poutsma added a comment -

          Fixed. The RemoveSoapHeadersInterceptor is now a public class, so you can use it in the non-default constructor as well (see SWS-835).

          Show
          arjen.poutsma Arjen Poutsma added a comment - Fixed. The RemoveSoapHeadersInterceptor is now a public class, so you can use it in the non-default constructor as well (see SWS-835 ).
          arjen.poutsma Arjen Poutsma made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          arjen.poutsma Arjen Poutsma made changes -
          Link This issue is related to SWS-835 [ SWS-835 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Resolved Resolved
          40d 18m 1 Arjen Poutsma 19/Aug/13 4:50 AM

            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: