[
https://issues.apache.org/jira/browse/CAMEL-5005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13208486#comment-13208486
]
Claus Ibsen commented on CAMEL-5005:
------------------------------------
Using <camel:constant/> ought to set an empty string as well.
> simple without embedded text results in an NPE
> ----------------------------------------------
>
> Key: CAMEL-5005
> URL: https://issues.apache.org/jira/browse/CAMEL-5005
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 2.9.0
> Reporter: Achim Nierbeck
> Fix For: 2.9.1, 2.10.0
>
>
> After switching to 2.9
> the following results in a NPE
> {code}
> <camel:setBody>
> <camel:simple></camel:simple>
> </camel:setBody>
> {code}
> I'm not sure if it is now required to have something in the content of the
> simple element.
> I used it for setting the body element to an empty string before (worked with
> 2.8.1)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira