can  adding a processor to from will help ?
I did not try but want to know ur opinion

I saw this   in http://camel.apache.org/message-translator.html


from("direct:start").process(new Processor() {
    public void process(Exchange exchange) {
        Message in = exchange.getIn();
        in.setBody(in.getBody(String.class) + " World!");
    }
}).to("mock:result");


--
View this message in context: 
http://camel.465427.n5.nabble.com/read-all-files-in-folder-tp4474104p4477460.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to