On Mon, Jul 18, 2011 at 3:14 PM, heinrichheine
<[email protected]> wrote:
> Hi there,
>
> i was wondering how to create a MapMessage with the Camel XML route notation
> (no Spring).
> I've read in the Camel docs that Map objects in the body will be converted
> to MapMessage.
> But how do i specify the key values in the xml?
>
> <camel:setBody>
>   ?????
> </camel:setBody>
>

XML is not a programming language. So its of course more difficult.

You can use some of the scripting languages and have that in the XML.
http://camel.apache.org/languages



> thanks in advance
>
>  martin
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Sending-MapMessage-via-CamelContext-tp4599455p4599455.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



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

Reply via email to