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

Camel-AHC: Wrapper async-http-client jars in camel-karaf feature are bundle

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.4.3, 3.5.0
    • 3.4.4, 3.6.0
    • karaf
    • None
    • Unknown

    Description

      the camel-ahc feature add async-http-client and async-http-client-netty-utils with wrap protocol
      <bundle dependency='true'>wrap:mvn:org.asynchttpclient/async-http-client/${ahc-version}$Export-Package=org.asynchttpclient.*;version=${ahc-version}</bundle>
      <bundle dependency='true'>wrap:mvn:org.asynchttpclient/async-http-client-netty-utils/${ahc-version}$Export-Package=org.asynchttpclient.netty.util.*;version=${ahc-version}</bundle>

      but sync-http-client.jar and async-http-client-netty-utils.jar are bundles with an osgi manifest

      Bnd-LastModified: 1586331593189
      Build-Jdk: 1.8.0_242
      Built-By: slandelle
      Bundle-Description: The Async Http Client (AHC) classes.
      Bundle-License: http://www.apache.org/licenses/LICENSE-2.0.txt
      Bundle-ManifestVersion: 2
      Bundle-Name: Asynchronous Http Client
      Bundle-SymbolicName: org.asynchttpclient.async-http-client
      Bundle-Vendor: The AsyncHttpClient Project
      Bundle-Version: 2.12.1
      Created-By: Apache Maven Bundle Plugin
      ...
      Manifest-Version: 1.0
      Bnd-LastModified: 1586331569314
      Build-Jdk: 1.8.0_242
      Built-By: slandelle
      Bundle-Description: The Async Http Client (AHC) library's purpose is to
      allow Java applications to easily execute HTTP requests and async
      hronously process the response.
      Bundle-License: http://www.apache.org/licenses/LICENSE-2.0.txt
      Bundle-ManifestVersion: 2
      Bundle-Name: Asynchronous Http Client Netty Utils
      Bundle-SymbolicName: org.asynchttpclient.async-http-client-netty-utils
      Bundle-Vendor: The AsyncHttpClient Project
      Bundle-Version: 2.12.1
      Created-By: Apache Maven Bundle Plugin
      ...

       

      I propose to replace them with

      <bundle dependency='true'>mvn:org.asynchttpclient/async-http-client/${ahc-version}/bundle>
      <bundle dependency='true'>mvn:org.asynchttpclient/async-http-client-netty-utils/${ahc-version}</bundle>

       

      Bye

       

       

      Attachments

        Activity

          People

            acosentino Andrea Cosentino
            sekaijin Terrien Jean-Yves
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: