camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cmoulliard <cmoulli...@gmail.com>
Subject Re: How to set the value of the headerName through spring xml ?
Date Wed, 22 Oct 2008 15:19:08 GMT

Surprisingly, this syntax is not longer supported by Camel 1.5 (I have
checked the XSD schema) ...


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
>> 
> 
> 


-----
Enterprise Architect

Xpectis
12, route d'Esch
L-1470 Luxembourg

Phone +352 25 10 70 470
Mobile +352 621 45 36 22

e-mail : cmoulliard@xpectis.com
web site :  www.xpectis.com www.xpectis.com 
My Blog :  http://cmoulliard.blogspot.com/ http://cmoulliard.blogspot.com/  
-- 
View this message in context: http://www.nabble.com/How-to-set-the-value-of-the-headerName-through-spring-xml---tp20112230s22882p20113082.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message