This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git
The following commit(s) were added to refs/heads/master by this push: new 2d13433 Remove spring log about camel auto configuration not eligble for getting processed by all bean processors. 2d13433 is described below commit 2d1343366b2021250455a6916914370340d14db3 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Mon Jul 27 07:21:19 2020 +0200 Remove spring log about camel auto configuration not eligble for getting processed by all bean processors. --- .../main/java/org/apache/camel/spring/boot/CamelAutoConfiguration.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelAutoConfiguration.java b/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelAutoConfiguration.java index 07804a8..466f6d2 100644 --- a/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelAutoConfiguration.java +++ b/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelAutoConfiguration.java @@ -39,6 +39,7 @@ import org.apache.camel.support.DefaultRegistry; import org.apache.camel.util.ObjectHelper; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +import org.springframework.beans.factory.config.BeanDefinition; import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; import org.springframework.boot.context.properties.EnableConfigurationProperties; import org.springframework.context.ApplicationContext; @@ -46,6 +47,7 @@ import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Import; import org.springframework.context.annotation.Lazy; +import org.springframework.context.annotation.Role; import org.springframework.core.OrderComparator; import org.springframework.core.env.ConfigurableEnvironment; import org.springframework.core.env.Environment; @@ -54,6 +56,7 @@ import org.springframework.core.env.MutablePropertySources; @Configuration(proxyBeanMethods = false) @EnableConfigurationProperties(CamelConfigurationProperties.class) @Import(TypeConversionConfiguration.class) +@Role(BeanDefinition.ROLE_INFRASTRUCTURE) public class CamelAutoConfiguration { private static final Logger LOG = LoggerFactory.getLogger(CamelAutoConfiguration.class);