Apache Camel

From Vague Hope Wiki
Revision as of 06:18, 17 February 2012 by Haku (Talk | contribs) (Created page with "== Known issues == * @Produce without endpoint ref and ConversionNotSupportedException org.springframework.beans.ConversionNotSupportedException: Failed to convert value of type...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.