Try

{code}
 public static void main(String... args) throws Exception {
     CamelContext context = new DefaultCamelContext();
     context.addRoutes(new RouteBuilder() {
         public void configure() {

from("file:/home/echo66/data/inbox/?delete=true&initialDelay=1000")
             .to <http://aux.to/>("file:/home/echo66/data/outbox/");
         }
     });
     context.start();
     }
}
{code}

Cheers,
Christian

Reply via email to