So I also tried with an exchange/processor and no luck: Exchange result = template.request("http://localhost:8081/REST", new Processor() { public void process(Exchange exchange) { Message in = exchange.getIn(); in.setBody(inputFile); exchange.setPattern(ExchangePattern.InOut); } }); log.debug("value : " + result.getOut().getBody(String.class) + "END" + result.getException());
I would expect this to give me the result as a string: result.getOut().getBody(String.class), but it is null. Any ideas? -- View this message in context: http://camel.465427.n5.nabble.com/Producer-Template-to-Invoke-HTTP-Endpoint-Request-Reply-tp5684220p5684682.html Sent from the Camel - Users mailing list archive at Nabble.com.