[ https://issues.apache.org/activemq/browse/CAMEL-2309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-2309. -------------------------------- Resolution: Working as Designed Fix Version/s: 2.2.0 > "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 > Fix For: 2.2.0 > > > 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.