anchor.diff:  ---------------------------------------------------------------------------------------
   
   [[HTTP-SpringDSLbasedconfigurationofendpoint]]
  +
   Spring DSL based configuration of endpoint
   
   [source,xml]
  
positive.code: 
  [source,java]
  ---------------------------------------------------------------
   context.getGlobalOptions().put("http.proxyHost", "172.168.18.9");
   context.getGlobalOptions().put("http.proxyPort", "8080");
  ---------------------------------------------------------------
  
  Spring XML
  
  [source,xml]
  ----------------------------------------------------------------
     <camelContext>
         <properties>
             <property key="http.proxyHost" value="172.168.18.9"/>
             <property key="http.proxyPort" value="8080"/>
        </properties>
     </camelContext>
  ----------------------------------------------------------------
  
  Camel will first set the settings from Java System or CamelContext
  Properties and then the endpoint proxy options if provided. +
   So you can override the system properties with the endpoint options.
  
  There is also a `http.proxyScheme` property you
  can set to explicit configure the scheme to use.
  
negative.code: [source,java]
  -------------------------------
  from("direct:start")
      .to("http://oldhost");
  -------------------------------
  
  And the equivalent XML DSL:
  
  [source,xml]
  ---------------------------------------------------------------------
  <route>
    <from uri="direct:start"/>
    <to uri="http://oldhost"/>
  </route>
  ---------------------------------------------------------------------
  
  You can override the HTTP endpoint URI by adding a header with the key
  