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
The following commit(s) were added to refs/heads/main by this push:
new 38a7ba2 CAMEL-17079: Deprecate SimpleBuilder and migrate to not use
it anymore.
38a7ba2 is described below
commit 38a7ba2d4178b7a7b87015a4b79a3a5657e58706
Author: Claus Ibsen <[email protected]>
AuthorDate: Thu Oct 14 09:37:45 2021 +0200
CAMEL-17079: Deprecate SimpleBuilder and migrate to not use it anymore.
---
.../modules/ROOT/pages/camel-3x-upgrade-guide-3_13.adoc | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git
a/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_13.adoc
b/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_13.adoc
index cf8dd0e..8908124 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_13.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_13.adoc
@@ -12,9 +12,25 @@ Added method `getStartedEventNotifiers` to
`org.apache.camel.spi.ManagementStrat
Added method `scheduleQueue` to `org.apache.camel.spi.ReactiveExecutor`.
+=== SimpleBuilder
+
The `org.apache.camel.builder.SimpleBuilder` has been deprecated. This builder
was mostly used internally in Camel with the Java DSL in some situations.
+End users that may use `SimpleBuilder` in Camel Java DSL can migrate from:
+
+[source,java]
+----
+simple("1").resultType(Integer.class))
+----
+
+to
+
+[source,java]
+----
+simple("1", Integer.class)
+----
+
=== Using custom Debugger
Previously when setting a custom org.apache.camel.spi.Debugger, then Camel
would automatically