Friday, 6 May 2016

org.apache.camel.InvalidPayloadException: No body available of type: java.io.InputStream on: Message: [Body is null].

org.apache.camel.InvalidPayloadException: No body available of type: java.io.InputStream on: Message: [Body is null]. Caused by: No type converter available to convert from type: null to the required type: java.io.InputStream with value null. Exchange[Message: [Body is null]]. Caused by: [org.apache.camel.NoTypeConversionAvailableException - No type converter available to convert from type: null to the required type: java.io.InputStream with value null]

In camel while hitting the url check message body. It is empty(null) ,it should have some data in the format of json or key value pair(depends on your service expectations)

No comments:

Post a Comment