I need to transfer files from a FTP server to a local directory and know if the server is down and if so retry every 10 minutes
Depending on the FTP component implementation, it may not produce exceptions
when the connect fails - this is a kind of a low-level detail of operation that's
not available to the route as whole, because it doesn't related to the processing
of the exchange.
The FTP2 component does allow you
to specify max number of reconnects and delay between reconnects, and
this might work for you, e.g add &maximumReconnectAttempts=0&reconnectDelay=600000 to continue retrying with a delay of 10 minutes before reconnecting again.