And for 1.5 it should be

<setHeader headerName="FileComponent.HEADER_FILE_NAME">
  <constant>stockprice.txt</constant>
</setHeader>

harpritt wrote:
For 1.4
<setHeader headerName="org.apache.camel.file.name" value="BLAH.txt"/> should be cool


cmoulliard wrote:
Hi,

I would like to know How I can set the value of a headerName through
spring XML because the following syntax is not correct :

<setHeader headerName="FileComponent.HEADER_FILE_NAME"
value="stockprice.txt">
   <simple/>
</setHeader>

KR,

Charles Moulliard



Reply via email to