Hi,
I'm using the following configuration:
<camelContext id="catalogues"
xmlns="http://camel.apache.org/schema/spring">
<camel:contextScan />
<camel:template id="catalogueProducerTemplate"
defaultEndpoint="file://${catalogue.exchange.dir}?doneFileName=${file:name}.done"
/>
<route>
<from
uri="file://${catalogue.exchange.dir}?doneFileName=${file:name}.done" />
<multicast parallelProcessing="true">
<to uri="vm:pdfToThumbnail"/>
<to uri="file://${catalogue.dir}"/>
</multicast>
</route>
<route>
<from uri="vm:pdfToThumbnail"/>
<process ref="createThumbnail"/>
<to uri="file://${catalogue.dir}2"/>
</route>
</camelContext>
and I'm wondering why the created /done/ file is always of name
"name.done", while the original file name is something like "test.pdf". I
would expect a name like "test.pdf.done". Also ${name.noext}.done is not
working.
Thanks in advance for your help,
Marcin
--
View this message in context:
http://camel.465427.n5.nabble.com/File-language-do-not-work-in-producer-templates-defaultEndpoint-declaration-tp5715173.html
Sent from the Camel - Users mailing list archive at Nabble.com.