InputStream is = (InputStream) exchange.getIn().getBody();
}
};
from("direct:start").to("http://localhost:9080/hello").process(clientProc).intercept(new StreamCachingInterceptor()).convertBodyTo(String.class).to("mock:a");
Processor proc = new Processor() {
public void process(Exchange exchange) throws Exception {
ByteArrayInputStream bis = new ByteArrayInputStream("<b>Hello World</b>".getBytes());