You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2012/08/13 09:55:38 UTC
[jira] [Commented] (CAMEL-5407) Better error message when trying to
write a null body as file
[ https://issues.apache.org/jira/browse/CAMEL-5407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13432983#comment-13432983 ]
Willem Jiang commented on CAMEL-5407:
-------------------------------------
Applied the patch with thanks to Alan, I also fix some CS errors of the patch and updated the File2 wiki page.
> Better error message when trying to write a null body as file
> -------------------------------------------------------------
>
> Key: CAMEL-5407
> URL: https://issues.apache.org/jira/browse/CAMEL-5407
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Reporter: Claus Ibsen
> Assignee: Willem Jiang
> Priority: Minor
> Fix For: 2.11.0
>
> Attachments: fileAllowNullBody.patch
>
>
> See nabble
> http://camel.465427.n5.nabble.com/Can-t-route-wsdl-request-into-file-tp5715201.html
> We should have a better error message instead of something about no type converter exception.
> We could also consider an option to the file producer, to silently ignore writing files if there is no message body.
> Finding a good name for this option is a challenge
> - skipNullBody
> - ignoreWritingNullBody
--
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