When exactly are the route "after processing" options such as file move done?

2024-06-18 Thread Jan Bares, WOOD & Co.
Hi, Say I have a route that reads a file and after processing it moves the file to another folder. from("file:/mnt/folder/?include=input.txt&move=done/{date:now:MMddHHmmssSSS}.txt") .process(...) .wireTap("routeB") .split(...) .filter(...) .to(...) .wireTap("routeC")

Re: When exactly are the route "after processing" options such as file move done?

2024-06-18 Thread Claus Ibsen
Its the original route that move/rename then file when its done, not the wiretaps On Tue, Jun 18, 2024 at 11:40 AM Jan Bares, WOOD & Co. wrote: > Hi, > > Say I have a route that reads a file and after processing it moves the > file to another folder. > > > from("file:/mnt/folder/?include=input.t

RE: When exactly are the route "after processing" options such as file move done?

2024-06-18 Thread Jan Bares, WOOD & Co.
Yes, thanks. And does the rename happen on the first to() in the route or on the last one? Jan > -Original Message- > From: Claus Ibsen > Sent: Tuesday, June 18, 2024 11:52 AM > To: users@camel.apache.org > Subject: Re: When exactly are the route "after processing" options such as > fi

Re: When exactly are the route "after processing" options such as file move done?

2024-06-18 Thread Claus Ibsen
On Tue, Jun 18, 2024 at 12:06 PM Jan Bares, WOOD & Co. wrote: > Yes, thanks. And does the rename happen on the first to() in the route or > on the last one? > > when the exchange from the original route is done being routed at the end > Jan > > > -Original Message- > > From: Claus Ibsen

RE: When exactly are the route "after processing" options such as file move done?

2024-06-18 Thread Jan Bares, WOOD & Co.
Many thanks, it helped to understand what we did wrong. Jan > -Original Message- > From: Claus Ibsen > Sent: Tuesday, June 18, 2024 12:18 PM > To: users@camel.apache.org > Subject: Re: When exactly are the route "after processing" options such as > file > move done? > > On Tue, Jun 18, 2