fly created CAMEL-16123:
---------------------------

             Summary: 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


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)

Reply via email to