Hi,

Can you tell us more about when did you get this kind of issue?
What’s your camel route look like?
How did deploy the camel route? Did you run it as a stand alone Java 
Application or deploy it into  some other container?


--  
Willem Jiang

Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem



On April 24, 2014 at 1:12:01 PM, Preethi ([email protected]) wrote:
> Hi,
>  
> We have a camel routes converts a JSONObject (jettison JSON) to String
> using the method convertBodyTo(String.class). However we see that there is
> an exception which comes and just fails to continue with the route.
> Following is the exception
>  
> Caused by: org.apache.camel.NoTypeConversionAvailableException: No type
> converter available to convert from type:
> org.codehaus.jettison.json.JSONObject to the required type: java.lang.String  
> with value {"supplyItem_GTIN":"00000000000024".....
> [INFO] [talledLocalContainer] at
> org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:147)
>   
> [INFO] [talledLocalContainer] at
> org.apache.camel.impl.MessageSupport.getMandatoryBody(MessageSupport.java:100)
>   
>  
> This issue occurs intermittenttly. It looks like the camel is unable to load
> the default converters.
>  
> Thanks,
> Preethi
>  
>  
>  
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Failing-to-load-converters-tp5750509.html  
> Sent from the Camel - Users mailing list archive at Nabble.com.
>  

Reply via email to