I just found a solution by using:
from(SOURCE).convertBodyTo(String.class).to("jms:test.queue");
from("jms:test.queue").process(new Processor() {
public void process(Exchange exchange) throws Exception {
Object body = exchange.getIn().getBody();
}
});Is this the correct way to do this? -- View this message in context: http://www.nabble.com/Problem-with-FileComponent-tp14961883s22882p14962880.html Sent from the Camel - Users mailing list archive at Nabble.com.
