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.

Reply via email to