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

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

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.


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

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ 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.


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

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-2293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang resolved CAMEL-2293.
---------------------------------

    Resolution: Fixed

trunk
http://svn.apache.org/viewvc?rev=891163&view=rev

Also updated the wiki page for it.

> 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.