You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2016/10/29 17:14:58 UTC

[jira] [Resolved] (CAMEL-10421) camel-spring-boot - CamelAutoConfiguration should allow to exclude non-singletons

     [ https://issues.apache.org/jira/browse/CAMEL-10421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-10421.
---------------------------------
    Resolution: Fixed

camel-spring-boot now don't include prototype scoped beans when auto scanning for RouteBuilder instances, which is how camel-spring works. You can turn this back using the includeNonSingletons option.

> camel-spring-boot - CamelAutoConfiguration should allow to exclude non-singletons
> ---------------------------------------------------------------------------------
>
>                 Key: CAMEL-10421
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10421
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-spring-boot
>    Affects Versions: 2.18.0
>            Reporter: Konstantin Leboev
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.19.0
>
>
> As it already has been fixed for camel-spring in CAMEL-8926, please, add an option to skip prototype scoped beans.
> see:
> https://github.com/apache/camel/blob/52a739feb9da8acd29067304c7c8356bbc5ef4dd/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/RoutesCollector.java#L78



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)