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

Claus Ibsen commented on CAMEL-1530:
------------------------------------

@Christian

Yeah it would be ideal if each component could test itself 100% in isolation. 
But that is not always easy and doable without much effort.

That is why camel-http is tested using camel-jetty where jetty acts as the 
Server it must communicate with.
We do also have a tests/camel-itest module where we test multiple camel 
components together etc.

You are much welcome to contribute new tests but I fail to see how you can do 
that easily with camel-http without having to bring in Jetty and start it up 
and handle how to validate correct input received and return expected reply as 
well. Using camel-http + camel-jetty makes that much easier to do.

> 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-test.patch, camel-http.patch
>
>
> 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