Re: How to set proxy excludes on http component?

2013-12-20 Thread Claus Ibsen
On Fri, Dec 20, 2013 at 12:40 AM, JaredBoucher  wrote:
> Hi Willem,
>
> I have a requirement for my current project using camel to be able to
> exclude internal hosts in our network from a proxy which allows outbound
> traffic.  All external traffic would go through the proxy.  Is there any
> plans to support proxy exclusions in the camel context for the
> HttpComponent/HttpEndpoint in the near future, as this would be very useful
> for our requirements.
>

You should log a JIRA ticket and as we love contributions people is
welcome to work on a patch
http://camel.apache.org/contributing.html

Then we can have some new options to set the exclude host name(s)
http://camel.apache.org/http


> Thank you,
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/How-to-set-proxy-excludes-on-http-component-tp5726744p5745070.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-
Red Hat, Inc.
Email: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
Make your Camel applications look hawt, try: http://hawt.io


Re: How to set proxy excludes on http component?

2013-12-20 Thread JaredBoucher
Hi Henrique,

Unless something has changed from the discussion in this thread, camel does
not respect the http proxy system properties.  The properties must be set in
the camel context, not as a java system property.

Also, the http.nonProxyHosts is ignored when set in the camel context or
system property as noted in this thread and in my personal trials.

Thanks,



--
View this message in context: 
http://camel.465427.n5.nabble.com/How-to-set-proxy-excludes-on-http-component-tp5726744p5745139.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: How to set proxy excludes on http component?

2013-12-19 Thread Henrique Viecili
You could set up the system property 'http.nonProxyHosts'

Henrique Viecili


On 20 December 2013 10:40, JaredBoucher  wrote:

> Hi Willem,
>
> I have a requirement for my current project using camel to be able to
> exclude internal hosts in our network from a proxy which allows outbound
> traffic.  All external traffic would go through the proxy.  Is there any
> plans to support proxy exclusions in the camel context for the
> HttpComponent/HttpEndpoint in the near future, as this would be very useful
> for our requirements.
>
> Thank you,
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/How-to-set-proxy-excludes-on-http-component-tp5726744p5745070.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>


Re: How to set proxy excludes on http component?

2013-12-19 Thread JaredBoucher
Hi Willem,

I have a requirement for my current project using camel to be able to
exclude internal hosts in our network from a proxy which allows outbound
traffic.  All external traffic would go through the proxy.  Is there any
plans to support proxy exclusions in the camel context for the
HttpComponent/HttpEndpoint in the near future, as this would be very useful
for our requirements.

Thank you,



--
View this message in context: 
http://camel.465427.n5.nabble.com/How-to-set-proxy-excludes-on-http-component-tp5726744p5745070.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: How to set proxy excludes on http component?

2013-02-04 Thread Christian Schäfer
Interesting idea to set proxy in the camel context. Will check if it's 
appropriate.

Thanks for confirming that http proxy excludes are not yet supported.

 
regards,

Christian



 Von: Willem jiang 
An: users@camel.apache.org; Christian Schäfer  
Gesendet: 4:32 Montag, 4.Februar 2013
Betreff: Re: How to set proxy excludes on http component?
 
It is not safe to look up the proxy setting from the system property.
I think current camel-http components support to lookup the setting from the 
camel context properties, and you can bridge the camel context properties with 
the system properties.  

Back to you question, I don't think current http component provides this kind 
of feature yet.  

--  
Willem Jiang

Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) 
(English)
          http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem





On Friday, February 1, 2013 at 8:40 PM, Christian Schäfer wrote:

> Hello there,
>  
>  
> just wonder how to set proxy excludes on http component asI didn't find any 
> note in the docs.
>  
> Proxy excludes that are globally set (e.g. 
> System.setProperty("http.nonProxyHosts", "localhost") are ignored by the http 
> camel component.
>  
> Any suggestions?
>  
>  
> regards
> Christian

Re: How to set proxy excludes on http component?

2013-02-03 Thread Willem jiang
It is not safe to look up the proxy setting from the system property.
I think current camel-http components support to lookup the setting from the 
camel context properties, and you can bridge the camel context properties with 
the system properties.  

Back to you question, I don't think current http component provides this kind 
of feature yet.  

--  
Willem Jiang

Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) 
(English)
  http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem





On Friday, February 1, 2013 at 8:40 PM, Christian Schäfer wrote:

> Hello there,
>  
>  
> just wonder how to set proxy excludes on http component asI didn't find any 
> note in the docs.
>  
> Proxy excludes that are globally set (e.g. 
> System.setProperty("http.nonProxyHosts", "localhost") are ignored by the http 
> camel component.
>  
> Any suggestions?
>  
>  
> regards
> Christian





Re: How to set proxy excludes on http component?

2013-02-03 Thread Claus Ibsen
Hi

On the long term it would be nice if we have a way of configuring http
proxies in the same way with SSL/TLS that work across the various
Camel components.
eg the work David did.
http://camel.apache.org/camel-configuration-utilities.html

If we could get this to be similar across the various http components,
then that would be great.



On Sat, Feb 2, 2013 at 12:23 PM, Christian Müller
 wrote:
> Camel-http leverage on commons-httpclient 3.x. How would you do it there?
>
> Sent from a mobile device
> Am 01.02.2013 13:51 schrieb "Christian Schäfer" :
>
>> Hello there,
>>
>>
>> just wonder how to set proxy excludes on http component asI didn't find
>> any note in the docs.
>>
>> Proxy excludes that are globally set (e.g.
>> System.setProperty("http.nonProxyHosts", "localhost") are ignored by the
>> http camel component.
>>
>> Any suggestions?
>>
>>
>>  regards
>> Christian



-- 
Claus Ibsen
-
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cib...@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen


Re: How to set proxy excludes on http component?

2013-02-02 Thread Christian Müller
Camel-http leverage on commons-httpclient 3.x. How would you do it there?

Sent from a mobile device
Am 01.02.2013 13:51 schrieb "Christian Schäfer" :

> Hello there,
>
>
> just wonder how to set proxy excludes on http component asI didn't find
> any note in the docs.
>
> Proxy excludes that are globally set (e.g.
> System.setProperty("http.nonProxyHosts", "localhost") are ignored by the
> http camel component.
>
> Any suggestions?
>
>
>  regards
> Christian


How to set proxy excludes on http component?

2013-02-01 Thread Christian Schäfer
Hello there,


just wonder how to set proxy excludes on http component asI didn't find any 
note in the docs.

Proxy excludes that are globally set (e.g. 
System.setProperty("http.nonProxyHosts", "localhost") are ignored by the http 
camel component.

Any suggestions?


 regards
Christian