You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2020/02/29 14:27:53 UTC
[camel] branch master updated: CAMEL-14568 - Add docs about SB
change
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push:
new a3c5806 CAMEL-14568 - Add docs about SB change
a3c5806 is described below
commit a3c580661de881562b8c06a79c35ec59e4f34d0d
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Sat Feb 29 15:27:36 2020 +0100
CAMEL-14568 - Add docs about SB change
---
.../modules/ROOT/pages/camel-3x-upgrade-guide.adoc | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide.adoc b/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide.adoc
index 72d3f17..664f8ca 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide.adoc
@@ -576,3 +576,23 @@ Should now be:
</property>
</bean>
----
+
+=== Configuring components via Spring Boot auto configuration
+
+Configuring Camel spring boot components has changed its option keys to be flattened and have the `.configuration` prefix
+removed now.
+
+Before in application.properties
+
+[source,properties]
+----
+camel.component.kafka.configuration.brokers=mybroker1:1234,mybroker2:1234
+----
+
+Should now be
+[source,properties]
+----
+camel.component.kafka.brokers=mybroker1:1234,mybroker2:1234
+----
+
+This applies to all the Camel spring boot _starter_ JARs where basically `.configuration` should be removed.