[
https://issues.apache.org/activemq/browse/CAMEL-1599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Cook updated CAMEL-1599:
---------------------------------
Attachment: httpProxyPatch.txt
Patch attached.
I haven't included my unit test as it was testing with my companies proxy
server details which obviously won't work for anyone else. I did look at public
proxy servers but again worried that they suddenly could stop working.
I had a look at how the HttpClient unit tests work and they use something
called a SimpleProxy.
eg)
protected SimpleProxy proxy = null;
proxy.getLocalAddress(),
proxy.getLocalPort());
I think proxy unit tests are bit tricky. I wondered if there was a way just to
get at the HttpEndpoint to check the proxy details have been set but it has
already tried to make the http call at that point.
> Add the proxy options to camel-http so you can set it easily from the URI
> -------------------------------------------------------------------------
>
> Key: CAMEL-1599
> URL: https://issues.apache.org/activemq/browse/CAMEL-1599
> Project: Apache Camel
> Issue Type: Improvement
> Components: camel-http
> Affects Versions: 2.0-M1
> Reporter: Jonathan Cook
> Assignee: Jonathan Cook
> Priority: Minor
> Fix For: 2.0.0
>
> Attachments: httpProxyPatch.txt
>
>
> See http://www.nabble.com/Http-Endpoint-td23430772.html#a23448297 for full
> history
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.