You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Tim Chen (JIRA)" <ji...@apache.org> on 2011/03/29 23:33:06 UTC

[jira] [Commented] (CAMEL-3354) Allow bean component to return null which will be accepted as a new Message with an empty body

    [ https://issues.apache.org/jira/browse/CAMEL-3354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13012715#comment-13012715 ] 

Tim Chen commented on CAMEL-3354:
---------------------------------

I had a look at the fix for https://issues.apache.org/jira/browse/CAMEL-3805 and it would actually resolve this issue as well.
This can be closed now :)
Thanks!

> 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/jira/browse/CAMEL-3354
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.5.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira