Hi

You should use the message translator eip
http://camel.apache.org/message-translator.html

Such as transform in the DSL which sets the correct body.

On Wed, Nov 27, 2013 at 5:43 PM, tapdur <[email protected]> wrote:
> hi all
>
> i am facing to a simple need but i can't find any response :
>
> i have to return a value to my cxfEndpoint without coding any Processor (as
> i want to be full DSL EIP compliant), is there a trick or a maner to code
> the line exchange.getOut().setBody(responsePayload); seen in every processor
> in a pure DSL ?
> i have ${in.body} but i dont know how to access to the exchange.out message
>
> thx
> bruno
>
>
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/DSL-how-to-write-exchange-getOut-setBody-responsePayload-tp5743955.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: [email protected]
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to