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/01/25 09:09:46 UTC
[camel] 03/03: CAMEL-14438: camel-core - Optimize core for checking
for stop routing
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
commit 9d4c7ea7ee8d4cdb97d98af2c2320d3ecb2b3417
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Sat Jan 25 10:04:26 2020 +0100
CAMEL-14438: camel-core - Optimize core for checking for stop routing
---
.../modules/ROOT/pages/camel-3x-upgrade-guide.adoc | 17 +++++++++++++++++
1 file changed, 17 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 7969a8a..945dac0 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
@@ -189,6 +189,23 @@ The method `getId` has been removed.
Cookies from `camel-http-common` has been moved into a new `camel-http-base` JAR.
The package `org.apache.camel.http.common.cookie` is renamed to `org.apache.camel.http.base.cookie`.
+==== Exchange.ROUTE_STOP
+
+To signal an `Exchange` to stop continue routing has changed from setting the exchange property `Echange.ROUTE_STOP` to true.
+Instead you should now use the `setRouteStop` method on the `Exchange` API
+
+[source,java]
+----
+ exchange.setProperty(Exchange.ROUTE_STOP, Boolean.TRUE);
+----
+
+Should now be:
+[source,java]
+----
+ exchange.setRouteStop(true);
+----
+
+
==== Java DSL
The Java DSL has been revisited and the following methods have been removed: