Difference between revisions of "Apache Camel"

From Vague Hope Wiki
Jump to: navigation, search
Line 4: Line 4:
 
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
  
Issue is in org.apache.camel.impl.CamelPostProcessorHelper.createInjectionProducerTemplate()
+
* Issue is in org.apache.camel.impl.CamelPostProcessorHelper.createInjectionProducerTemplate()
It passes incorrect parameters to getEndpointInjection() -> the injectionPointName should not be specified.
+
* 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.
+
* In fact, getEndpointInjection() should not even be called for null or empty endpointUri.

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.