Hi all,
I got the following problem. I want to configure a file Endpoint using the File
Language that should additionally have Properties replaced. As we are still on
Camel 2.1 we can only use properties in Spring Language Endpoint tags.
So my try was:
<endpoint id="errorEndpoint"
uri="file://${errorDir}?fileName=${file:name}.txt"/>
The problem is that file:name is not recoginzed.
When I use the uri directly in <to> the file:name works but I can´t use
${errorDir} there.
So what works is:
<to uri="file://target/error?fileName=${file:name}.txt"/>
Any ideas?
Greetings
Christian
Christian Schneider
Informationsverarbeitung
Business Solutions
Handel und Dispatching
Tel : +49-(0)721-63-15482
EnBW Systeme Infrastruktur Support GmbH
Sitz der Gesellschaft: Karlsruhe
Handelsregister: Amtsgericht Mannheim ‑ HRB 108550
Vorsitzender des Aufsichtsrats: Dr. Bernhard Beck
Geschäftsführer: Jochen Adenau, Hans-Günther Meier