[
https://issues.apache.org/activemq/browse/CAMEL-2309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=56610#action_56610
]
Claus Ibsen commented on CAMEL-2309:
------------------------------------
Works for me on trunk with OS X. Also the Spring XML variation.
Have you tried on both OS X and Windows 7?
Can you try with 2.2-SNAPSHOT? even though I cannot recall any important fixes
in this area.
> "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.