I would like to set the body to null using xml and would like do
something as simple as
<setBody><simple>${null}</simple></setBody>

I experimented with this idea and added this null-expression to the
simple expression builder so that this expression works.

But I was not sure if there is already another way to do this without
introducing this expression. I know a workaround to set the body to
null by using something non-existent (e.g., ${header.ugly}), but that
is ugly.

So if there is no other way, I would like to add this simple
expression to camel.

regards, aki

Reply via email to