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 4f36e0b600c1ec55ed4bbbd9c8d0d738a6a468ed Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Sat Oct 2 13:42:48 2021 +0200 CAMEL-16938: camel-core - Using transacted could cause StackOverflowException in some complex use cases. Changed ordering of executing transacted tasks in ReactiveExecutor to run from queue, which allows the waiting callee thread to run the task (so it runs with the right thread) but this also collapses the strack depth. --- .../ROOT/pages/camel-3x-upgrade-guide-3_12.adoc | 2 -- .../ROOT/pages/camel-3x-upgrade-guide-3_13.adoc | 23 ++++++++++++++++++++++ .../modules/ROOT/pages/camel-3x-upgrade-guide.adoc | 1 + 3 files changed, 24 insertions(+), 2 deletions(-) diff --git a/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_12.adoc b/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_12.adoc index 90957f1..49f3812 100644 --- a/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_12.adoc +++ b/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_12.adoc @@ -19,8 +19,6 @@ The `ThroughputLogger` has changed the return type from `int` to `long` in the ` Removed the `dataSonnet(Expression)` methods from `RouteBuilder` as they should not be used; use the methods that take `String` as type. -Added method `getStartedEventNotifiers` to `org.apache.camel.spi.ManagementStrategy`; - === Data Formats We had to fix all the data-formats options that take a Java classname to support 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 new file mode 100644 index 0000000..339e376 --- /dev/null +++ b/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_13.adoc @@ -0,0 +1,23 @@ += Apache Camel 3.x Upgrade Guide + +This document is for helping you upgrade your Apache Camel application +from Camel 3.x to 3.y. For example if you are upgrading Camel 3.0 to 3.2, then you should follow the guides +from both 3.0 to 3.1 and 3.1 to 3.2. + +== Upgrading Camel 3.12 to 3.13 + +=== API changes + +Added method `getStartedEventNotifiers` to `org.apache.camel.spi.ManagementStrategy`. + +Added method `scheduleQueue` to `org.apache.camel.spi.ReactiveExecutor`. + +== Using transactions + +The routing engine has been changed to route exchanges in a different order +when using transactions (`.transacted()`). When an `Exchange` is continued +routed a task is scheduled to the `ReactiveExecutor`. This fixed issues +with could lead to `StackOverflowException`. + + + 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 919a3e3..3547a6a 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 @@ -21,3 +21,4 @@ You can find upgrade guide for each release in the following pages: - xref:camel-3x-upgrade-guide-3_10.adoc[Upgrade guide 3.9 -> 3.10] - xref:camel-3x-upgrade-guide-3_11.adoc[Upgrade guide 3.10 -> 3.11] - xref:camel-3x-upgrade-guide-3_12.adoc[Upgrade guide 3.11 -> 3.12] +- xref:camel-3x-upgrade-guide-3_13.adoc[Upgrade guide 3.12 -> 3.13]