Re: Connection problem when moving last ftp file and stopping route

2019-01-15 Thread Davide Rossi
; And btw do you want to stop the route always after it has processed some > files? > Why dont you want to keep the route running? Or are you looking for > running this only once or something? > > On Sun, Jan 13, 2019 at 1:17 PM Davide Rossi > wrote: > > > > Hi everyone!

Connection problem when moving last ftp file and stopping route

2019-01-13 Thread Davide Rossi
Hi everyone! I have a connection problem when stopping a ftp route. My route is something like this: *http://camel.apache.org/schema/spring "> ftp://admin@localhost:2121/testFolder?move=.done&moveFailed=.error&delay=300&recursive=true&antI

Re: log and set polling time information in exchange header

2018-03-05 Thread Davide Rossi
the sendEmptyMessageWhenIdle to trigger a "empty > message". > > > > > > > > On Mon, Mar 5, 2018 at 4:45 PM, Davide Rossi > wrote: > >> Hi, Claus > >> thanks for your quick reply. If I correctly understood what you said, > you &g

Re: log and set polling time information in exchange header

2018-03-05 Thread Davide Rossi
this explains better my requirements. Thanks again Davide 2018-03-05 12:10 GMT+01:00 Claus Ibsen : > Hi > > Do like the first, dont use pollEnrich. > > So can you be more clean what you mean by n-th polling. So you set it > to poll every 10 seconds. Do you want a log for

log and set polling time information in exchange header

2018-03-05 Thread Davide Rossi
Hi everyone! I have a route like this *from("file://C:\\path\\to\\sourceDirectory?delay=1&directoryMustExist=true").routeId("myRouteId") .to("bean:myProcessor").to("file://C:\\path\\to\\targetDirectory");* Now, I need this: - when the i-th polling happens, I want to have a cutom log re