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 2024/01/25 08:21:31 UTC

(camel) branch main updated: CAMEL-20352: camel-spring-boot - camel.springboot.includeNonSingletons is not respected anymore: prototype Route Builders are always initialized.

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


The following commit(s) were added to refs/heads/main by this push:
     new a12bcf69353 CAMEL-20352: camel-spring-boot - camel.springboot.includeNonSingletons is not respected anymore: prototype Route Builders are always initialized.
a12bcf69353 is described below

commit a12bcf69353449784891875f2b4b79a4e0d81a34
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Thu Jan 25 09:21:22 2024 +0100

    CAMEL-20352: camel-spring-boot - camel.springboot.includeNonSingletons is not respected anymore: prototype Route Builders are always initialized.
---
 docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_4.adoc | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_4.adoc b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_4.adoc
index acc5b2248e5..f808eeaf5a0 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_4.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_4.adoc
@@ -151,6 +151,11 @@ All keys started with `camel.springboot.routesController` should be renamed to `
 `camel.springboot.routeControllerBackOffDelay` should be renamed to `camel.routecontroller.backOffDelay`.
 And the option `camel.springboot.routeControllerSuperviseEnabled` has been renamed to `camel.routecontroller.enabled`.
 
+=== Routes Collector
+
+Camel Spring Boot will not honor the `camel.springboot.includeNonSingletons` option (default false). This means
+that only singleton `RouteBuilder` beans is added by default. Previously then prototype scoped beans would be added as well.
+
 === camel-platform-http-vertx
 
 Added configuration to enable Vert.x session handling.