【发布时间】:2015-07-31 11:24:16
【问题描述】:
我正在尝试对 http4 组件使用系统属性的代理设置,但无济于事。
documentation 给出了这个例子:
<camelContext>
<properties>
<property key="http.proxyHost" value="172.168.18.9"/>
<property key="http.proxyPort" value="8080"/>
</properties>
</camelContext>
但这只是使用硬编码值。
有没有办法在 camelContext 属性中使用占位符?
【问题讨论】:
标签: spring http proxy apache-camel system-properties