You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2009/12/22 12:35:43 UTC

[jira] Assigned: (CAMEL-2309) "preMove" option creates unwanted .camel directory

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

Claus Ibsen reassigned CAMEL-2309:
----------------------------------

    Assignee: Claus Ibsen

> "preMove" option creates unwanted .camel directory
> --------------------------------------------------
>
>                 Key: CAMEL-2309
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2309
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.1.0
>         Environment: OS X 10.6
> Windows 7
> JDK 1.6.16, 1.6.17
>            Reporter: Serge Merzliakov
>            Assignee: Claus Ibsen
>            Priority: Minor
>
> Given the following Camel context to copy a text file to a JMS queue
>    <camel:camelContext id="camel">
>       <camel:route id="file-to-jms">
>          <camel:from uri="file:resource/test/runtime?preMove=before/${file:name.noext}-moved.${file:ext}"/>
>          <camel:to uri="activemq:queue:dest"/>
>       </camel:route>
>    </camel:camelContext>
> I noticed that the "preMove" attribute puts the file in:
>     ./before/.camel/FILE-moved.TXT
> instead of what I expected:
>    ./before/FILE-moved.TXT
> the "move" attribute works how I expect, and places the file in  ./before/FILE-moved.TXT

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.