camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-11752) camel-spring-boot : improve handling classic spring xml with spring-boot
Date Wed, 06 Sep 2017 14:57:00 GMT

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

Claus Ibsen commented on CAMEL-11752:
-------------------------------------

Okay its a bit tricky as when XML parser creates a new CamelContextFactoryBean then its in
creation of a CamelContext already. So if you ask spring to create a bean of CamelContext
(eg spring boot auto configuration) then it goes back into the factory bean.

> camel-spring-boot : improve handling classic spring xml with spring-boot  
> --------------------------------------------------------------------------
>
>                 Key: CAMEL-11752
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11752
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-spring, camel-spring-boot
>            Reporter: Luca Burgazzoli
>            Assignee: Claus Ibsen
>             Fix For: 2.20.0
>
>
> Within a spring-boot based application it is possible to load spring xml based camel
context but that's may cause issues as spring boot won't create and configure a camel context
but it will be created by the camel-spring based on the xml file so any context configuration
one may expect to tweak via spring-boot properties won't be taken into account.
> An example can be found here: https://github.com/lburgazzoli/camel-spring-xml were as
example, the set the camel context name with the property camel.springboot.name does not work
but the camel context will be named according to the spring-xml file.
>  



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message