You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2019/12/03 19:21:08 UTC
[camel-quarkus] branch master updated: chore: Add extra docs for
the Dozer type converter
This is an automated email from the ASF dual-hosted git repository.
jamesnetherton pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/master by this push:
new 9a47a89 chore: Add extra docs for the Dozer type converter
9a47a89 is described below
commit 9a47a8923eef53940f26fdae488ae41be621c9b3
Author: James Netherton <ja...@gmail.com>
AuthorDate: Tue Dec 3 19:20:50 2019 +0000
chore: Add extra docs for the Dozer type converter
---
docs/modules/ROOT/pages/extensions/dozer.adoc | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/docs/modules/ROOT/pages/extensions/dozer.adoc b/docs/modules/ROOT/pages/extensions/dozer.adoc
index 3f2a67d..895ce1c 100644
--- a/docs/modules/ROOT/pages/extensions/dozer.adoc
+++ b/docs/modules/ROOT/pages/extensions/dozer.adoc
@@ -30,7 +30,12 @@ Use the following configuration property to specify the location(s) of your Doze
quarkus.camel.dozer.mapping-files = dozerMappings.xml,file:foo/bar/custom-mappings.xml,http://foo/bar/mapping.xml
----
-The Dozer extension provides a type converter which is disabled by default. It can be enabled with the following configuration.
+The Dozer extension provides a type converter which can leverage your mapping configuration(s) to convert and map a message body
+from one type to another. For example.
+
+ from("direct:oldCustomerTypeIn").convertBodyTo(NewCustomerType.class);
+
+It is disabled by default but can be enabled with the following configuration property.
[source,properties]
----