You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2009/12/16 10:27:52 UTC

[jira] Commented: (CAMEL-2293) support to take the proxy configuration from camel context instead of using the SystemProperties

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

Claus Ibsen commented on CAMEL-2293:
------------------------------------

Remember to write about this in the 2.2 release notes in Important changes to consider when upgrading

> support to take the proxy configuration from camel context instead of using the SystemProperties
> ------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-2293
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2293
>             Project: Apache Camel
>          Issue Type: Improvement
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 2.2.0
>
>
> As CAMEL-2286 issue shows , we need to avoid the side effects of using the SystemProperties.
> For use who want to configure proxy from out side can consider to set the CamelContext properties like this
> Java DSL :
> {code}
>  context.getProperties().put("http.proxyHost", "172.168.18.9");
>  context.getProperties().put("http.proxyPort" "8080");
> {code}
> Spring XML
> {code}
>    <camelContext>
>        <properties>
>            <property key="http.proxyHost" value="172.168.18.9"/>
>            <property key="http.proxyPort" value="8080"/>
>       </properties>
>    </camelContext>
> {code}

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