You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2021/06/01 23:17:30 UTC
[GitHub] [camel-quarkus] ffang commented on a change in pull request #2707: demonstrate how to configure quarkus-jackson extension's own ObjectM…
ffang commented on a change in pull request #2707:
URL: https://github.com/apache/camel-quarkus/pull/2707#discussion_r643546987
##########
File path: integration-tests/dataformats-json/src/main/java/org/apache/camel/quarkus/component/dataformats/json/JsonDataformatsRoute.java
##########
@@ -39,14 +41,16 @@
import org.apache.camel.spi.DataFormat;
import org.apache.johnzon.mapper.reflection.JohnzonParameterizedType;
+@ApplicationScoped
public class JsonDataformatsRoute extends RouteBuilder {
+ @Inject
+ ObjectMapper jacksonObjectMapper;
Review comment:
Yes, at line 54 of this file
```
jacksonDummyObjectDataFormat.setObjectMapper(jacksonObjectMapper);
```
I just reuse existing test case/jacksonObjectMapper, hope this is OK.
--
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:
users@infra.apache.org