This is an automated email from the ASF dual-hosted git repository.

jamesnetherton pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git


The following commit(s) were added to refs/heads/main by this push:
     new 75e3fb5025 Fixes #9243: Document REST DSL autoDiscoverObjectMapper 
configuration for Jackson
75e3fb5025 is described below

commit 75e3fb50256055f04f4f96a661d735c93c0d6e9e
Author: Satyam Pandey <[email protected]>
AuthorDate: Fri Sep 25 19:41:56 2026 +0530

    Fixes #9243: Document REST DSL autoDiscoverObjectMapper configuration for 
Jackson
---
 docs/modules/ROOT/pages/reference/extensions/jackson.adoc | 11 ++++++++++-
 extensions/jackson/runtime/src/main/doc/usage.adoc        | 11 ++++++++++-
 2 files changed, 20 insertions(+), 2 deletions(-)

diff --git a/docs/modules/ROOT/pages/reference/extensions/jackson.adoc 
b/docs/modules/ROOT/pages/reference/extensions/jackson.adoc
index aa38afbf8f..d67d1b2455 100644
--- a/docs/modules/ROOT/pages/reference/extensions/jackson.adoc
+++ b/docs/modules/ROOT/pages/reference/extensions/jackson.adoc
@@ -101,7 +101,16 @@ public class Routes extends RouteBuilder {
 }
 ----
 
-If you are using the JSON binding mode in the Camel REST DSL and want to use 
the Quarkus Jackson `ObjectMapper`, it can be achieved as follows.
+If you are using the JSON binding mode in the Camel REST DSL and want to use 
the Quarkus Jackson `ObjectMapper`, it can be achieved by setting 
`autoDiscoverObjectMapper=true`.
+
+In `application.properties`:
+
+[source,properties]
+----
+camel.rest.data-format-properties[autoDiscoverObjectMapper] = true
+----
+
+Or via the Java DSL:
 
 [source,java]
 ----
diff --git a/extensions/jackson/runtime/src/main/doc/usage.adoc 
b/extensions/jackson/runtime/src/main/doc/usage.adoc
index a2228710af..8b6eee8986 100644
--- a/extensions/jackson/runtime/src/main/doc/usage.adoc
+++ b/extensions/jackson/runtime/src/main/doc/usage.adoc
@@ -48,7 +48,16 @@ public class Routes extends RouteBuilder {
 }
 ----
 
-If you are using the JSON binding mode in the Camel REST DSL and want to use 
the Quarkus Jackson `ObjectMapper`, it can be achieved as follows.
+If you are using the JSON binding mode in the Camel REST DSL and want to use 
the Quarkus Jackson `ObjectMapper`, it can be achieved by setting 
`autoDiscoverObjectMapper=true`.
+
+In `application.properties`:
+
+[source,properties]
+----
+camel.rest.data-format-properties[autoDiscoverObjectMapper] = true
+----
+
+Or via the Java DSL:
 
 [source,java]
 ----

Reply via email to