camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (CAMEL-2309) "preMove" option creates unwanted .camel directory
Date Tue, 22 Dec 2009 11:35:43 GMT

     [ 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.


Mime
View raw message