Hi,
can I use Camel expression in switchyard.xml? Example:
<file:binding.file xmlns:file="urn:switchyard-component-camel-file:config:1.0">
<file:contextMapper includes="CamelFileName" />
<file:directory>/temp/MTI/outbound</file:directory>
<file:autoCreate>true</file:autoCreate>
<file:tempFileName>temp/${file:onlyname}-temp.txt</file:tempFileName>
</file:binding.file>
I would expect that the temporary file file created will be temp/somename-temp.txt and renamed to somename.txt. However the temp file is named temp/onlyname-temp.txt. It seems that the file: part of the expression was eaten out but did nothing. Do I miss the expression processor in the configuration?
Thank you, Jan
Please refer to this forum thread: https://community.jboss.org/thread/223258?tstart=0