Hi

I have a route that creates up to ten different files in a directory and 
another route that zips all these files.

We see in some scenarios that the zipping is done BEFORE all files have been 
created. Ending up with two zip files, one with eight files and one with two 
files.
The zip-route uses a delay, a completionFromBatchConsumer and 
eagerCheckCompletion.

How can I chain these two routes together so the zipping is always run after 
all files have been created?

My producer route creates files using a multicast and several .to("direct://“).


Thx

M

Reply via email to