camel-dozer component is not working as expected
Issue
-
We have a simple Camel route that we want to use to try a dozer mapping. We have followed this documentation to create the blueprint.xml file: http://camel.apache.org/dozer-type-conversion.html.
-
However, when we try to convert between the two types specified in my mapping file, we get the following error:
org.apache.camel.NoTypeConversionAvailableException: No type converter available to convert from type: com.redhat.OneType to the required type: com.redhat.AnotherType with value com.redhat.OneType@3ec6e9
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:181)[483:org.apache.camel.camel-core:2.12.0.redhat-610379]
at org.apache.camel.core.osgi.OsgiTypeConverter.mandatoryConvertTo(OsgiTypeConverter.java:116)[482:org.apache.camel.camel-blueprint:2.12.0.redhat-610379]
at org.apache.camel.impl.MessageSupport.getMandatoryBody(MessageSupport.java:99)[483:org.apache.camel.camel-core:2.12.0.redhat-610379]
- It seems that the mapping is not being registered. We don't have multiple dozer mapping bundles that seems to have given other problems in the past. Do you have any idea what the issue is please?
Environment
- Red Hat JBoss Fuse
- 6.1.0
- camel-dozer component
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.