as a final step of a business process we have to publish a file on a remote FTP server. But the remote server isn't always available, so we're figuring out how to handle this situation.
Starting from this setup:
When the outbound-channel-adapter get an error - because the FTP server went away - the message is no longer stored in the channel and is "lost".Code:<int:channel id="delivery-channel"> <int:queue message-store="message-store" /> </int:channel> <ftp:outbound-channel-adapter channel="delivery-channel" ... />
How can we update this solution to periodically retry the FTP operation until the FTP server is finally available?