camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mvandersteen <>
Subject http-conf and Proxy Settings
Date Mon, 01 Sep 2014 06:21:14 GMT
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="">
            <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"

    <http-conf:conduit name="*.http-conduit">


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message