On Tue, Dec 22, 2009 at 10:53 AM, Serge Merzliakov <[email protected]> wrote:
>
> Hi,
>   Given the following Camel context (OS X 10.6, camel 2.1.0, activemq 5.3)
> 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?jmsMessageType=Text"/>
>      </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, however.
>
> Any ideas on what is needed to correct this problem ?

Can you create a JIRA ticket for that issue?


>
>
> Regards,
> Serge
>
> --
> View this message in context: 
> http://old.nabble.com/%22preMove%22-option-creates-unwanted-.camel-directory-tp26885979p26885979.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Reply via email to