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 2023/02/24 13:33:38 UTC

[camel] 03/04: CAMEL-19090: Remove deprecated apis in core

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 f6148a80f762ce640f7a48c157df8878f5841b71
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Fri Feb 24 12:58:32 2023 +0100

    CAMEL-19090: Remove deprecated apis in core
---
 docs/user-manual/modules/ROOT/pages/camel-4-migration-guide.adoc | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/docs/user-manual/modules/ROOT/pages/camel-4-migration-guide.adoc b/docs/user-manual/modules/ROOT/pages/camel-4-migration-guide.adoc
index f4f03322ff6..74b6e7d24b6 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-4-migration-guide.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-4-migration-guide.adoc
@@ -61,10 +61,13 @@ All the `camel-test` modules that were JUnit 4.x based has been removed. All tes
 
 == API Changes
 
-We have removed deprecated APIs such as the following.
+We have removed deprecated APIs such as the following:
 
-The `org.apache.camel.ExchangePattern` has removed `InOptionalOut`.
-Removed `getEndpointMap()` method from `CamelContext`.
+- The `org.apache.camel.ExchangePattern` has removed `InOptionalOut`.
+- Removed `getEndpointMap()` method from `CamelContext`.
+- Removed `@FallbackConverter` as you should use `@Converter(fallback = true)` instead.
+- Removed `uri` attribute on `@EndpointInject`, `@Produce`, and `@Consume` as you should use `value` (default) instead.
+  For example `@Produce(uri = "kafka:cheese")` should be changed to `@Produce("kafka:cheese")`
 
 == YAML DSL