You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Howard Nguyen (JIRA)" <ji...@apache.org> on 2015/11/05 01:46:27 UTC
[jira] [Created] (CAMEL-9291) GenericFileOnCompletion should NOT
allow handOver i.e. should implement SynchronizationVetoable
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)