On Friday, 26 September 2025 at 09:22, Claus Ibsen <claus.ib...@gmail.com> wrote:
> Are you trying to bulk together all todays messages into a single file with > the name yyyyMMdd and you struggle to know when there are no more messages > and this file is to be rotated. > > Not really sure exactly what you attempt, but if a shell script is easier > and better then that is also welcome. I'm logging data from ActiveMQ to a file and then wanting to process that file *after* Camel has started logging to another file. The file timestamp is based on the time the message was received, so it's easy to know when a file is 'complete'. I think a shell script is probably the easier option. Peter