Hi guys,
Wanting to know if there is a way to turn on and off the proxySettings usage
that are configured via only the blueprint.xml file, within the
http-conf:conduit block.
At present in development i require to use the proxy setting but once it
released to the "wild" proxy setting in test/uat and prod is not required,
so need to remove from the blueprint.xml file before compile for the other
environments. It would be handy if the proxyServer / proxyPort was left
blank so it could be changed per environment, when I leave those values
blank it uses blank information to attempt to create a proxy.
Is there a way so that this can be controlled via properties similar to the
following., or am i going about this the wrong way?
<cm:property-placeholder persistent-id="com.example.properties">
<cm:default-properties>
<cm:property name="com.example.http-conf.allowChunking"
value="true" />
<cm:property name="com.example.http-conf.proxyServer"
value="localhost" />
<cm:property name="com.example.http-conf.proxyPort" value="3128"
/>
</cm:default-properties>
</cm:property-placeholder>
<http-conf:conduit name="*.http-conduit">
<http-conf:client
AllowChunking="${com.example.http-conf.allowChunking}"
ProxyServer="${com.example.http-conf.proxyServer}"
ProxyServerPort="${com.example.http-conf.proxyPort}"
/>
</http-conf:conduit>
Cheers
Mark
--
View this message in context:
http://camel.465427.n5.nabble.com/http-conf-and-Proxy-Settings-tp5755902.html
Sent from the Camel - Users mailing list archive at Nabble.com.