xml - Set exchange body to null -


i trying set null body of exchange in xml definiton this:

<camel:setbody>     <camel:constant>null</camel:constant> </camel:setbody> 

or this:

<camel:setbody>     <camel:simple>null</camel:simple> </camel:setbody> 

they give string "null" in end.

any idea right form is?

how this?

<camel:setbody>     <camel:simple>${bodyas(null)}</camel:simple> </camel:setbody>     

Comments

Popular posts from this blog

javascript - Trigger mouseenter when an animated element touches mouse -

json - Zend error Connection -

java - Using Spring @Transactional with a combination of readOnly and write, when does this entity get committed? -