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 set the body item
Date Fri, 17 Dec 2010 05:31:46 GMT
Use Java code, for example invoke a bean or Processor where you can
"reset" the map.

Or use some of the scripting languages if you want to do it from XML
http://camel.apache.org/languages.html

for example Groovy, JavaScript etc.

On Fri, Dec 17, 2010 at 4:05 AM, Bingliu <liubing1883@gmail.com> wrote:
>
> Hi, I user a map as body.Example map( "1"="1", "2"="2" ).Now i want to reset
> the value of "1" in map.How can i do the operate in the context.xml?
> <camel:camelContext>
>    ?
> </camel:camelContext>
> --
> View this message in context: http://camel.465427.n5.nabble.com/How-set-the-body-item-tp3308911p3308911.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



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

Mime
View raw message