camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ishada <>
Subject Stop the route when there is no file on the SFTP component
Date Fri, 20 Nov 2015 08:58:23 GMT
down vote

I am trying to zip all the files on the SFTP endpoint and move it to some
other location. It is working fine but if there are no files on the SFTP
endpoint I need to stop the route. There is an option
sendEmptyMessageWhenIdle on file endpoint to handle such scenario. Is there
a way I can implement this scenario?

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message