Current camel context doesn't provides a way to set the system properties.

You can set the system properties by using -D option when you start the JVM, and if you are using ServiceMix, you can change the file in ${SERVICEMIX_HOME}/system.properties.

Willem

lekkie wrote:
Thanks.

Is there a way one can set system properties (e.g. http.proxyHost) from a
camel context?



willem.jiang wrote:
Just saw from the Fuse forums, you are using the cxf:cxfEndpoint.

Yeah, this should work for you, as cxf use the sun's HTTP URI implementation to connect the back end service.

Willem

Stephen Gargan wrote:
You would just set up the JVM to use the proxy.

http://java.sun.com/javase/6/docs/technotes/guides/net/proxies.html

ste

On Fri, Mar 12, 2010 at 8:43 AM, lekkie <[email protected]> wrote:
Hi Guys,

Does Servicemix allow one to configure a proxy server address (to
connect to
internet)?

If yes, how can this be achieved?

regards.
--
View this message in context:
http://old.nabble.com/How-to-set-proxy-server-on-servicemix-tp27879783p27879783.html
Sent from the Camel - Users mailing list archive at Nabble.com.






Reply via email to