You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Terrien Jean-Yves (Jira)" <ji...@apache.org> on 2020/09/08 08:39:00 UTC

[jira] [Created] (CAMEL-15511) wrap async-http-client in camel-karaf feature

Terrien Jean-Yves created CAMEL-15511:
-----------------------------------------

             Summary: wrap async-http-client in camel-karaf feature
                 Key: CAMEL-15511
                 URL: https://issues.apache.org/jira/browse/CAMEL-15511
             Project: Camel
          Issue Type: Improvement
          Components: karaf
    Affects Versions: 3.5.0, 3.4.3
            Reporter: Terrien Jean-Yves


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

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)