Proxy authentication with Camel using ProducerTemplate
I have a project that's using Camel and running on a ServiceMix server, but I can't seem to get it to access external web services, and I suspect it's because I can't set the proxy authentication properly. Exchange exchange = producerTemplate.request(url, new Processor() { public void process(Exchange exchange) throws Exception { exchange.getIn().setHeader(Exchange.HTTP_METHOD, "POST"); exchange.getIn().setHeader(Exchange.CONTENT_TYPE, "application/json"); } }); response = exchange.getOut().getBody(String.class); If I put a breakpoint on the last line, I see a ConnectionTimedOutException in