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/01/23 11:16:54 UTC

[camel] branch master updated: CAMEL-15844: Add note in migration guide

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


The following commit(s) were added to refs/heads/master by this push:
     new e5fe606  CAMEL-15844: Add note in migration guide
e5fe606 is described below

commit e5fe6060de37ec91db1e185901cbf7ee68d45e2a
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Sat Jan 23 12:16:30 2021 +0100

    CAMEL-15844: Add note in migration guide
---
 .../modules/ROOT/pages/camel-3x-upgrade-guide-3_8.adoc        | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_8.adoc b/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_8.adoc
index 170fdd2..30ee669 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_8.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_8.adoc
@@ -6,6 +6,17 @@ from both 3.0 to 3.1 and 3.1 to 3.2.
 
 == Upgrading Camel 3.7 to 3.8
 
+=== Route startup procedure change
+
+Camel will now initialize all routes during initialization of `CamelContext` itself.
+Before all routes where lazy initialized when they were started, which happens in the starting phase of `CamelContext`.
+But moving this forward to initialization phase, then we ensure all is done together.
+
+This means that all the resources used in the routes such as EIPs, processors, beans, components, data formats, languages etc.
+are also initialized. An affect of this change is that any custom Camel component that may do initialization logic in
+the constructors of `Consumer` or `Producer` should *not* do this, but move this logic to `doInit` or `doStart` where
+such logic correctly belongs.
+
 === API changes
 
 The following type names are renamed in `CamelEvent.Type` enum: