Hi

I read "Using proxy settings outside of URI" in
http://camel.apache.org/http4.html

<camelContext>
  <properties>
    <property key="http.proxyHost" value="172.168.18.9"/>
    <property key="http.proxyPort" value="8080"/>
  </properties>
</camelContext>

I read "Using Blueprint property placeholder with Camel routes" in
http://camel.apache.org/properties.html 
But I have not found a real example of the settings camelContext properties
from blueprint properties.


<cm:property-placeholder persistent-id="myblueprint.placeholder">
  <cm:default-properties>
    <cm:property name="http.proxyHost" value=""/>
    <cm:property name="http.proxyPort" value=""/>
  </cm:default-properties>
</cm:property-placeholder>

<camelContext>
  <properties>
    <property key="http.proxyHost" value="{{http.proxyHost}}"/>
    <property key="http.proxyPort" value="{{http.proxyPort}}"/>
  </properties>
  ...
</camelContext>

Easy to use text values ​​does not allow flexibility settings.


---
Aleksey Sushko

--
View this message in context: 
http://camel.465427.n5.nabble.com/initialize-camelContext-properties-tp5715695.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to