Howard Nguyen created CAMEL-9291:
------------------------------------
Summary: GenericFileOnCompletion should NOT allow handOver i.e.
should implement SynchronizationVetoable
Key: CAMEL-9291
URL: https://issues.apache.org/jira/browse/CAMEL-9291
Project: Camel
Issue Type: Bug
Components: camel-core
Affects Versions: 2.16.0
Reporter: Howard Nguyen
GenericFileOnCompletion should NOT allow handOver i.e. should implement
SynchronizationVetoable
Route example
{code}
from("file:///tmp")
.inOnly("seda:someQueue")
.process(myProcessor)
{code}
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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)