You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2010/11/23 10:11:24 UTC
[jira] Created: (CAMEL-3354) Allow bean component to return null
which will be accepted as a new Message with an empty body
Allow bean component to return null which will be accepted as a new Message with an empty body
----------------------------------------------------------------------------------------------
Key: CAMEL-3354
URL: https://issues.apache.org/activemq/browse/CAMEL-3354
Project: Apache Camel
Issue Type: Improvement
Components: camel-core
Affects Versions: 2.5.0
Reporter: Claus Ibsen
Assignee: Claus Ibsen
Priority: Minor
Fix For: 2.6.0, 3.0.0
See nabble
http://camel.465427.n5.nabble.com/Error-in-MessageSupport-when-using-JMSMessage-tp3268379p3268379.html
Although it was designed that a null response from a bean method call is regarded as do not mutate/change the message, we should look into allowing that.
The other may take people by surprise. However its a corner case wanting to change the message to an empty/null body.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.