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

Damir Isanbirdin reopened CAMEL-7169:
-------------------------------------


Hi Claus,

yes, it works with move option.

<from uri="file:/1?include=.*.(gz|zip)$ &move=/2"/>
<to uri="mock:result"/>

But the semantic of "from -> to" here is not clear, not well designed as well. 
I think this can be re-factored in the future versions for more readable like 
this one:

<from uri="file:/1?include=.*.(gz|zip)$ & justMove="true"/>
<to uri="file:/2"/>


> Generic File Process Strategy : Camel tries to rename already renamed (moved) 
> local file. 
> ------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-7169
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7169
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.12.0, 2.12.1, 2.12.2
>         Environment: Linux /CentOS6
>            Reporter: Damir Isanbirdin
>            Assignee: Claus Ibsen
>              Labels: file, local, rename
>         Attachments: log.move.rename.local.file.txt
>
>
> Generic File Process Strategy: Camel tries to rename already renamed (moved) 
> local file. 



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to