ppalaga commented on code in PR #3952:
URL: https://github.com/apache/camel-quarkus/pull/3952#discussion_r936007047


##########
docs/modules/ROOT/pages/reference/extensions/jackson.adoc:
##########
@@ -67,18 +77,30 @@ The Quarkus Jackson extension exposes an `ObjectMapper` CDI 
bean which can be di
 
 [source,java]
 ----
-ObjectMapper mapper = new ObjectMapper();
-JacksonDataFormat dataFormat = new JacksonDataFormat();
-// Make JacksonDataFormat discover the Quarkus Jackson `ObjectMapper` from the 
Camel registry
-dataFormat.setAutoDiscoverObjectMapper(true);
+import com.fasterxml.jackson.databind.ObjectMapper;
+import org.apache.camel.builder.RouteBuilder;
+import org.apache.camel.component.jackson.JacksonDataFormat;
+
+public class Routes extends RouteBuilder {
+    public void configure() {
+        ObjectMapper mapper = new ObjectMapper();

Review Comment:
   Thanks, done.



-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to