camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nibs <nibha...@gmail.com>
Subject Re: recipientList not working properly
Date Thu, 25 Apr 2013 07:18:44 GMT
Thanks Claus and Christian for ur suggestions.
Actually i am working on some old projects so currently i need a fix on
camel 2.4
yeah but for sure we will upgrade taht.

actually the error caused is

 Caused by: 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]
	at
org.apache.camel.impl.MessageSupport.getMandatoryBody(MessageSupport.java:103)
	at
org.apache.camel.util.ExchangeHelper.getMandatoryInBody(ExchangeHelper.java:115)
	at
org.apache.camel.component.file.FileOperations.storeFile(FileOperations.java:204)
	... 152 more
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
	at
org.apache.camel.impl.converter.DefaultTypeConverter.mandatoryConvertTo(DefaultTypeConverter.java:132)
	at
org.apache.camel.impl.MessageSupport.getMandatoryBody(MessageSupport.java:101)
	... 154 more 


I read this http://camel.apache.org/type-converter.html
but i am not getting how to implement in my spring dsl

Thanks in Advance



--
View this message in context: http://camel.465427.n5.nabble.com/recipientList-not-working-properly-tp5731447p5731508.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message