You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andrea Cosentino (Jira)" <ji...@apache.org> on 2021/02/01 06:43:00 UTC
[jira] [Resolved] (CAMEL-16123) When the message body is null, can
it be ignored?
[ https://issues.apache.org/jira/browse/CAMEL-16123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrea Cosentino resolved CAMEL-16123.
--------------------------------------
Resolution: Information Provided
> When the message body is null, can it be ignored?
> -------------------------------------------------
>
> Key: CAMEL-16123
> URL: https://issues.apache.org/jira/browse/CAMEL-16123
> Project: Camel
> Issue Type: Improvement
> Components: camel-aws2
> Affects Versions: 3.7.0
> Reporter: fly
> Priority: Major
>
> I found that in method processSingleOp of class AWS2S3Producer, the following code was used to get the message body
> Object obj = exchange.getIn ().getMandatoryBody();
> When the body of the message is null, an exception is thrown.
> Can we ignore messages with null body by default, or provide an option for end users
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)