Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
2.16.0
-
None
-
Moderate
-
Important
Description
GenericFileOnCompletion should NOT allow handOver i.e. should implement SynchronizationVetoable
Route example
from("file:///tmp") .inOnly("seda:someQueue") .process(myProcessor)
Currently, since handover is allowed, when consumer of seda:someQueue finished, the GenericFileOnCompletion get executed and move the file to .camel. My processor get execute, it does not see the file i.e. getting FileNotFound exception.
My seda consumer does not do any file processing. It is merely a listener for file detected event.