Hi,I want to transfer some files from one FTP location (Source FTP) to
another FTP location (Destination FTP) through camel. Now, I know that
through Camel we can handle the failover of the destination FTP server as
following:public class FtpRouteBuilder extends RouteBuilder { @Override
public void configure() throws Exception {
from(sourceFTP).loadBalance().failover()
.to(destinationFTP).to(backupFTP).end(); }}But my requirement is that I
need to have source FTP failover support. That is suppose I have one
sourceFTP and one backupSourceFTP server. Camel should poll files from
sourceFTP and transfer them to destinationFTP. However, when sourceFTP goes
down it will automatically poll files from backupSourceFTP server and send
them to destinationFTP.Please, let me know if this can be achieved through
Camel. If not, is there any other way to achieve this?Thanks in advance.
another FTP location (Destination FTP) through camel. Now, I know that
through Camel we can handle the failover of the destination FTP server as
following:public class FtpRouteBuilder extends RouteBuilder { @Override
public void configure() throws Exception {
from(sourceFTP).loadBalance().failover()
.to(destinationFTP).to(backupFTP).end(); }}But my requirement is that I
need to have source FTP failover support. That is suppose I have one
sourceFTP and one backupSourceFTP server. Camel should poll files from
sourceFTP and transfer them to destinationFTP. However, when sourceFTP goes
down it will automatically poll files from backupSourceFTP server and send
them to destinationFTP.Please, let me know if this can be achieved through
Camel. If not, is there any other way to achieve this?Thanks in advance.