Try this

setHeader("A", constant("value"))

Cheers,
Jon

cmoulliard wrote:
Hi,

I have discovered that the following method is deprecated now :

setHeader(String headerName, String headerValue) (e.g setHeader("A",
"value")

and replaced by (I suppose) this method :

setHeader(String nameOfTheHeader, Expression exp)

My question is simple : How can I transpose the String headerValue of the
deprecated method into an Expression ?

Kind regards,

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 : [EMAIL PROTECTED]
web site : www.xpectis.com www.xpectis.com My Blog : http://cmoulliard.blogspot.com/ http://cmoulliard.blogspot.com/

Reply via email to