This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch 13514 in repository https://gitbox.apache.org/repos/asf/camel.git
commit 226383298aca5fb798effcce99173a78ab4935b0 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Wed May 15 11:03:19 2019 +0200 CAMEL-13514: Add to migration guide --- MIGRATION.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/MIGRATION.md b/MIGRATION.md index 4c377b8..74886a7 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -186,9 +186,6 @@ The functionality to change the simple language tokens for start/end functions h The following API changes may affect your existing Camel applications, which needs to be migrated. -TODO: Should this be a table? -TODO: Add the other moved classes/packages etc - #### CamelContext The methods on `CamelContext` that are related to catalog has been moved into a new `CatalogCamelContext` interface, which you can access by adapting: @@ -197,6 +194,11 @@ The methods on `CamelContext` that are related to catalog has been moved into a The `loadRouteDefinitions` and `loadRestDefinitions` on `ModelCamelContext` has been changed to `addRouteDefinitions` and `addRestDefinitions` to be aligned with the other methods. You can find loader methods on the `ModelHelper` utility class. +#### Checked vs unchecked exceptions + +Most of the Camel exception classes has been migrated to be unchecked (eg extends `RuntimeException`). + +Also the lifecycle of the `start`, `stop` and `suspend`, `resume` methods on `Service` and `SuspendableService` has been changed to not throw checked exceptions. #### Generic Information