Hi Christian,
The bean style is support in Camel 2.1, you don't have to upgrade Camel :)
Willem
Schneider Christian wrote:
Hi Claus,
when I use the bean style is it then possible to use ${file:name}? I would
guess this is not possible.
So that means upgrade to 2.3?
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
-----Ursprüngliche Nachricht-----
Von: Claus Ibsen [mailto:[email protected]]
Gesendet: Mittwoch, 23. Juni 2010 11:11
An: [email protected]
Betreff: Re: Using File language and Properties in Endpoint
You can try using the bean style instead
<bean id="errorEndpoint" class="org.apache .... FileEndpoint">
<property name="fileName" value="${someSpringPropertyKeyHere"/>
<!-- and set all the other options as well -->
</bean>
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:
Any ideas?
Greetings
Christian