This is an automated email from the ASF dual-hosted git repository. lburgazzoli pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
commit 3f0cf7a01fa5314259a8a58da41cd8f431e092e4 Author: lburgazzoli <lburgazz...@gmail.com> AuthorDate: Thu Aug 20 16:19:22 2020 +0200 lifecycle: add migration doc --- .../modules/ROOT/pages/camel-3x-upgrade-guide-3_5.adoc | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_5.adoc b/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_5.adoc index 0c39132..9143ad2 100644 --- a/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_5.adoc +++ b/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_5.adoc @@ -49,3 +49,14 @@ A new parameter `geoLocationProvider` was introduced to allow the use of a custo === Camel Karaf The following features has been removed due they become not compatible with OSGi: `camel-couchbase`. + +=== LifecycleStrategy + +The `LifecycleStrategy` has been enhanced and provides some additional methods and changes in the behavior: + +* **onContextInitializing**: is invoked when the context is about to be initialized, this was previopusly achieved by `onContextInitialized` but as the name was a misleading +* **onContextInitialized**: is now invoked when the context is initialized +* **onContextStarting**: is invoked when the context is about to start, this was previously achieved by the `onContextStart` which is now deprecated. +* **onContextStarted**: is now invoked when the context is started +* **onContextStopping**: is invoked when the context is about to be stopped, this was previously achieved by the `onContextStop` which is now deprecated. +* **onContextStop**: is now invoked when the context is stopped