exchange.getIn().setBody("Hello ASCII from FTPServer");
exchange.getIn().setHeader(FileComponent.HEADER_FILE_NAME, "ascii.txt");
Producer producer = endpoint.createProducer();
producer.start();
producer.process(exchange);
producer.stop();
}
protected RouteBuilder createRouteBuilder() throws Exception {
return new RouteBuilder() {
public void configure() throws Exception {