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

Claus Ibsen commented on CAMEL-5407:
------------------------------------

This need to work for the ftp components as well as they are built on top of 
the file stuff. So we should try to ensure they are in sync.
                
> 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

        

Reply via email to