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 2021/12/21 13:53:38 UTC

[camel] 04/05: CAMEL-17194: endpointdsl - Prepare for generate only once during project build. WIP.

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

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

commit fb3b14b1929971e1a48eca45208d9f81d879faa2
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Tue Dec 21 14:33:13 2021 +0100

    CAMEL-17194: endpointdsl - Prepare for generate only once during project build. WIP.
---
 .../modules/ROOT/pages/camel-3x-upgrade-guide-3_15.adoc        | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_15.adoc b/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_15.adoc
index 11c130c..c54dc68 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_15.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_15.adoc
@@ -10,6 +10,16 @@ from both 3.0 to 3.1 and 3.1 to 3.2.
 
 Added `getScheme` method to `org.apache.camel.spi.Resource`.
 
+=== camel-endpointdsl
+
+The Endpoint DSL is now more type-safe, where previously an option would be declared as `Object` type,
+is now declared using its actual type, such as `javax.sql.DataSource`.
+
+Option that are enums is now using the real enum FQN class name, instead of a duplicate enum
+class that was embedded inside the Endpoint DSL. For example when using `aws2sq` the
+namingStrategy enum is changed from `org.apache.camel.builder.endpoint.dsl.AWS2S3EndpointBuilderFactory`
+to `org.apache.camel.component.aws2.s3.stream.AWSS3NamingStrategyEnum` class name.
+
 === camel-management
 
 The route controller MBeans are moved from `routecontrollers` to the existing `services`