title: How can I read csv file using apache camel only once from http?
body: <p>I try to create a route, that can access http url with csv file and simply print the content of it. Unfortunately the file is being read continuously. </p>
  
  <ol>
  <li>Is it possible to do read it only once and then stop processing?</li>
  <li>Why does "direct:start" not work in this example and I have to use timer?</li>
  </ol>
  
  <p>Here is my code:</p>
  
  <pre><code>context.addRoutes(new RouteBuilder() {
              public void configure() {
                  from("timer://start?delay=5000")
                          .to("http4://127.0.0.1:18080/data.csv")
                          .unmarshal().csv()
                          .process(new Processor() {
                              @Override
                              public void process(Exchange exchange) throws Exception {
                                  String list = exchange.getIn().getBody(String.class);
                                  log.info(list);
                    //Here I would like to stop the route when file reading is finished
                              }
                          });
          });
  </code></pre>
  
  <p>Thanks!</p>