Hello, i have some routes like following: ftp/fileConsumer -> dynamic Transformation route(s) -> write result route.
onExecption(Exception.class).to("direct:error"); from("file://dir/file?noop=true").to("direct:route-1"); from("direct:error").to("direct:route-2"); from("direct:route-1").routingSlip().header(HEADER_URI).end().to("direct :route-2"); from("direct:route-2").to("direct:end"); Now I want to move files onCompletion of route-2. Ideally I can write to failed if an exception occurs on any route. If I set noop=false, the file is moved after completion of start route and null in following route. Thx for any hint! Regards Robin