Uploaded image for project: 'Red Hat build of Apache Camel for Spring Boot'
  1. Red Hat build of Apache Camel for Spring Boot
  2. CSB-4025

Make the URLConnectionHTTPConduit as the default Client Conduit

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • CSB-4.4
    • None
    • CXF
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Very Likely
    • 0

      We've bean using URLConnectionHTTPConduit since very start of CXF for so many years, and it's stable.

      The new introduced in-jdk api based HttpClientHTTPConduit still has potential issues(even from JDK api itself with some JDK versions). For example this one which is reported upstream recently

      https://issues.apache.org/jira/browse/CXF-8987

       

      We better use URLConnectionHTTPConduit as the default one and document this.

       

      In CXF we have a system property as a switch "org.apache.cxf.transport.http.forceURLConnection" which can determine to use URLConnectionHTTPConduit or HttpClientHTTPConduit. I think in our product we better use URLConnectionHTTPConduit as the default one(to make the value of "org.apache.cxf.transport.http.forceURLConnection" as true)

              yfang@redhat.com Freeman(Yue) Fang
              yfang@redhat.com Freeman(Yue) Fang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: