I'm using the Quartz scheduler component in conjunction with pollEnrich to download a file at a specific time of day. It looks like the 'move' parameter is being ignored, am I missing something?
public void configure() throws Exception {
from("quartz://myGroup/DownloadFilesTrigger?cron=0+03+14+*+*+?").
pollEnrich("sftp://" + sourceLocation() + "?password=" +
password + "&move=.done", 0).
to("file:" + INBOX_LOCATION );
}
Thanks,
Rusell Pitre
