aldettinger commented on a change in pull request #2635:
URL: https://github.com/apache/camel-quarkus/pull/2635#discussion_r636020739
##########
File path:
integration-tests/dataformats-json/src/main/java/org/apache/camel/quarkus/component/dataformats/json/JsonDataformatsRoute.java
##########
@@ -88,6 +96,97 @@ public boolean shouldSkipClass(Class<?> clazz) {
.unmarshal()
.jacksonxml(PojoA.class);
+ JacksonXMLDataFormat unmarshalTypeHeaderFormat = new
JacksonXMLDataFormat();
+ unmarshalTypeHeaderFormat.setAllowUnmarshallType(true);
+
from("direct:jacksonxml-unmarshal-type-header").unmarshal(unmarshalTypeHeaderFormat);
+
+ JacksonDataFormat listFormat = new JacksonDataFormat(TestPojo.class);
Review comment:
Some routes are using `JacksonDataFormat`. Is it really intended or
should we use `JacksonXMLDataFormat` instead ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]