camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <>
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


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:
>             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: were as
example, the set the camel context name with the property does not work
but the camel context will be named according to the spring-xml file.

This message was sent by Atlassian JIRA

View raw message