[ 
https://issues.apache.org/activemq/browse/CAMEL-1530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=57295#action_57295
 ] 

Christian Mueller commented on CAMEL-1530:
------------------------------------------

@Claus,

also camel-cxf and camel-restlet have direct dependencies to 
commons-httpclient:commons-httpclient:jar:3.1.

{code}
[INFO] ------------------------------------------------------------------------
[INFO] Building Camel :: HTTP
[INFO]    task-segment: [dependency:tree]
[INFO] ------------------------------------------------------------------------
[INFO] [dependency:tree {execution: default-cli}]
[INFO] org.apache.camel:camel-http:bundle:2.2-SNAPSHOT
...
[INFO] +- commons-httpclient:commons-httpclient:jar:3.1:compile
{code}

{code}
[INFO] ------------------------------------------------------------------------
[INFO] Building Camel :: CXF
[INFO]    task-segment: [dependency:tree]
[INFO] ------------------------------------------------------------------------
[INFO] [dependency:tree {execution: default-cli}]
[INFO] org.apache.camel:camel-cxf:bundle:2.2-SNAPSHOT
...
[INFO] +- commons-httpclient:commons-httpclient:jar:3.1:test
{code}

{code}
[INFO] ------------------------------------------------------------------------
[INFO] Building Camel :: Restlet
[INFO]    task-segment: [dependency:tree]
[INFO] ------------------------------------------------------------------------
[INFO] [dependency:tree {execution: default-cli}]
[INFO] org.apache.camel:camel-restlet:bundle:2.2-SNAPSHOT
...
[INFO] +- commons-httpclient:commons-httpclient:jar:3.1:test (scope not updated 
to compile)
{code}

I would prefers to add a new dependency to 
org.apache.httpcomponents.httpclient.4.0.1 in camel-parent with this issue and 
open 2 other issues for camel-cxf and camel-restlet. With the last patch of 
this both, we remove the dependency to 
commons-httpclient:commons-httpclient:jar:3.1.

What do you think?

Regards,
Christian

> Upgrade camel-http to use httpclient 4.0
> ----------------------------------------
>
>                 Key: CAMEL-1530
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1530
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-http
>    Affects Versions: 2.0-M1
>            Reporter: Claus Ibsen
>            Assignee: Christian Mueller
>             Fix For: 2.3.0
>
>         Attachments: camel-http-new-tests.patch, camel-http-test.patch, 
> camel-http.patch, client.jks, server.jks
>
>
> Upgrading httpclient from 3.1 to 4.0 requires changes in the camel-http code 
> as the API has change quite a lot.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to