Difference between revisions of "Apache Camel"
From Vague Hope Wiki
(Created page with "== Known issues == * @Produce without endpoint ref and ConversionNotSupportedException org.springframework.beans.ConversionNotSupportedException: Failed to convert value of type...") |
|||
Line 1: | Line 1: | ||
== Known issues == | == Known issues == | ||
− | + | === @Produce without endpoint ref and ConversionNotSupportedException === | |
org.springframework.beans.ConversionNotSupportedException: Failed to convert value of type 'org.apache.camel.impl.DefaultProducerTemplate' to required type 'org.apache.camel.Endpoint'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.apache.camel.impl.DefaultProducerTemplate] to required type [org.apache.camel.Endpoint]: no matching editors or conversion strategy found | org.springframework.beans.ConversionNotSupportedException: Failed to convert value of type 'org.apache.camel.impl.DefaultProducerTemplate' to required type 'org.apache.camel.Endpoint'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.apache.camel.impl.DefaultProducerTemplate] to required type [org.apache.camel.Endpoint]: no matching editors or conversion strategy found | ||
Revision as of 06:19, 17 February 2012
Known issues
@Produce without endpoint ref and ConversionNotSupportedException
org.springframework.beans.ConversionNotSupportedException: Failed to convert value of type 'org.apache.camel.impl.DefaultProducerTemplate' to required type 'org.apache.camel.Endpoint'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.apache.camel.impl.DefaultProducerTemplate] to required type [org.apache.camel.Endpoint]: no matching editors or conversion strategy found
Issue is in org.apache.camel.impl.CamelPostProcessorHelper.createInjectionProducerTemplate() It passes incorrect parameters to getEndpointInjection() -> the injectionPointName should not be specified. In fact, getEndpointInjection() should not even be called for null or empty endpointUri.