On Thu, Jan 20, 2011 at 5:11 PM, unmarshall <[email protected]> wrote:
>
> Hi Claus,
>
> Thanks for a quick response.
> Can you check if that is the case with <camel:setHeader> It also needs to be
> changed in my opinion.
>

I have added it to the simple expression so you can use that anywhere
where you use an expression in the DSL.
So yeah it work for setHeader as well.

If you have any preference for a syntax for a new <ref> expression
then comment on the JIRA.
We are bit more reluctant to add that asap, as it adds to the DSL,
which is then harder to adjust once released.


> Best Regards,
> Madhav
>
>
> Claus Ibsen-2 wrote:
>>
>> Hi
>>
>> From Camel 2.6 onwards you can do
>>
>> <setProperty ...>
>>   <simple>ref:xxx</simple>
>> </setProperty>
>>
>> Where xxx is the id of the bean to lookup.
>>
>>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Set-exchange-property-to-a-Map-tp3349171p3349866.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: [email protected]
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to