camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: How to set body part with using of XML DSL
Date Sun, 13 Sep 2015 11:50:18 GMT
Simple does not support that. You can use some of the other languages
like mvel, groovy etc.

On Sun, Sep 13, 2015 at 11:22 AM, horyna <phofficial@centrum.cz> wrote:
> Thx. for reply. But me problem is, that i need to set just a field value
> inside body object. You promise change complete body part.
>
> I need to do body.getContext().setReqeustId(property.getRequestId()); using
> Camel.
>
> Thats why i wrote:
> <simple>{$body.context.requestId} = {$property.requestId}</simple>
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/How-to-set-body-part-with-using-of-XML-DSL-tp5771461p5771466.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2nd edition:
https://www.manning.com/books/camel-in-action-second-edition

Mime
View raw message