camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Leboev (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-10421) camel-spring-boot - CamelAutoConfiguration should allow to exclude non-singletons
Date Fri, 28 Oct 2016 09:08:58 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-10421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15614854#comment-15614854
] 

Konstantin Leboev commented on CAMEL-10421:
-------------------------------------------

We are building configurable system for parsing different types of registers at different
time. User should have ability to change status (active/inactive), schedule for register's
reconciliation, etc.
We have some route templates, described in RouteBuilder with spring dependencies, but specific
settings depends on a register type. That's why we use a prototype scoped bean.

And for camel consistency, because such option was already added to camel-spring: http://camel.465427.n5.nabble.com/Excluding-prototype-scoped-Component-route-builder-from-lt-contextScan-gt-td5768755.html

> 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
>            Priority: Minor
>
> 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)

Mime
View raw message