[
https://issues.apache.org/jira/browse/CAMEL-10485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-10485.
---------------------------------
Resolution: Won't Fix
> AbstractCamelTestNGSpringContextTests does not support @UseAdviceWith when
> used with Spring boot
> ------------------------------------------------------------------------------------------------
>
> Key: CAMEL-10485
> URL: https://issues.apache.org/jira/browse/CAMEL-10485
> Project: Camel
> Issue Type: Bug
> Components: camel-test
> Affects Versions: 2.17.3
> Reporter: Chi Kim
> Priority: Minor
>
> CamelContext is always started even with @UseAdviceWith.
> CamelContext is started when camel route bean is refreshed during the Spring
> start up.
> Looks like the CamelSpringBootJUnit4ClassRunner gets around the problem by
> setting
> {code}
> System.setProperty("skipStartingCamelContext", "true");
> {code}
> which is missing in the CamelTestNG version.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)