[ 
https://issues.apache.org/jira/browse/CAMEL-9291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-9291.
--------------------------------
    Resolution: Won't Fix
      Assignee: Claus Ibsen

> 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
>            Assignee: Claus Ibsen
>              Labels: file, seda, thread-safe
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> 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)

Reply via email to