How did you start your camel context? Can I have a look at your spring configuration ?
Willem On 5/9/11 4:14 PM, Bingliu wrote:
Hi,I have an exception when camel 2.5 started.The problem is : ---------------------------------------------------------------------------------------------------- Caused by: org.apache.camel.NoTypeConversionAvailableException: No type converter available to convert from type: java.lang.String to the required type: java.lang.Boolean with value false at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:142) at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:125) at org.apache.camel.core.osgi.OsgiTypeConverter.mandatoryConvertTo(OsgiTypeConverter.java:90) at org.apache.camel.util.CamelContextHelper.parseBoolean(CamelContextHelper.java:259) at org.apache.camel.core.xml.AbstractCamelContextFactoryBean.initCamelContext(AbstractCamelContextFactoryBean.java:606) at org.apache.camel.core.xml.AbstractCamelContextFactoryBean.afterPropertiesSet(AbstractCamelContextFactoryBean.java:268) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417) ... 24 more ----------------------------------------------------------------------------------- I use camel 2.5 in osgi.Import three jars as bundle.They are camel-core-2.5.0.jar, camel-spring-2.5.0.jar and camel-ognl-2.5.0.jar.The ide is eclipse3.6 64-bit.JDK is jdk1.6.-_24, also 64-bit.When the environment started, the exception has been thrown! what is the cause of the problem? PS:When i use camel 2.7, the exception also has been thrown! -- View this message in context: http://camel.465427.n5.nabble.com/Camel-2-5-0-startup-exception-tp4381307p4381307.html Sent from the Camel - Users mailing list archive at Nabble.com.
-- Willem ---------------------------------- FuseSource Web: http://www.fusesource.com Blog: http://willemjiang.blogspot.com (English) http://jnn.javaeye.com (Chinese) Twitter: willemjiang Connect at CamelOne May 24-26 The Open Source Integration Conference http://camelone.com