Camel-Rest error in the result of the route (Blueprint, org.apache.camel.TypeConversionException)
Issue
- One class contains internally an object of other class, But when the route ends, an error is produced:
org.apache.camel.TypeConversionException: Error during type conversion from type: com.mycompany.response.RestResponse to the required type: java.lang.String with value RestResponse [successful=true, functionalMessage=some message, technicalMessage=some other message, traceId=1470786766536-2309, payload=SomeBean [someparam=u3, ipAddress=XXX.YYYY.ZZZ.AAA, macAddress=null, urlparam=https://some.url.com, fechaUltimoAcceso=Tue Aug 09 18:50:10 CDT 2016, acciones=null, informacionAdicional=null, idBitacora=4]] due null
at org.apache.camel.converter.jaxb.FallbackTypeConverter.convertTo(FallbackTypeConverter.java:103)[242:org.apache.camel.camel-jaxb:2.15.1.redhat-621107]
Environment
- Red Hat JBoss Fuse
- 6.2.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
