Your include is wrong, as its Java regular expression based, so be careful with .txt as that does not match a .txt file, as you need to do special for dots in regular expressions.
On Fri, May 13, 2016 at 10:33 AM, Michele <[email protected]> wrote: > Hi Everyoune, > > I configure my route like this: > > from("ftp://username@host/IN?passiveMode=true&localWorkDirectory=C:/tmp&password=xxxxxx&include=DDT_DA_SAP_[0-9]{8}_[0-9]{6}.txt&readLock=changed&maxMessagesPerPoll=1&charset=iso-8859-1") > .id("FileReader") > .split().tokenize("\n", 1000).streaming() > .log("${body}") > .to("seda:grouped") > .end(); > > in log file, I see this and no content: > -rw-r--r-- 1 ftp ftp 6070120 May 13 10:16 > DDT_DA_SAP_20151123_123003.txt > > Please help me. > > Thanks in advance > > Best Regards > Michele > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/FTP-Consumer-has-strange-behaviour-tp5782537.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2
