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