I am trying to set null into the body of the exchange in xml definiton like this:
<camel:setBody>
<camel:constant>null</camel:constant>
</camel:setBody>
or like this:
<camel:setBody>
<camel:simple>null</camel:simple>
</camel:setBody>
they all give string "null" in the end.
Any idea about What the right form is?
I'm working with Talend ESB (camel 2.17). I done it in javaDSL. This worked good to me :
.setBody().simple("${null}")
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With