Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.25.2, 3.4.3
-
None
-
Patch Available
-
Unknown
-
Patch
Description
If you have a route with a Multicast with parallel processing and a timeout and a sub-route in the multicast which is creating an OutputStreamCache before the timeout and is writing to the OutputStreamCache after the timeout then the created file is never deleted from the file system.
Similar situation as described in https://issues.apache.org/jira/browse/CAMEL-15532. The difference to https://issues.apache.org/jira/browse/CAMEL-15532 is that the OutputStreamCache is created before the timeout; in CAMEL-15532 the OutputStreamCache was created after the timeout and also the writing to the OutputStreamCache happened after the timeout.
With our current concept to determine the UnitOfWork which removes via the onDone event the created file, we can only determine the described situation and throw an exception. See provided patch.