camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chi Kim (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-10485) AbstractCamelTestNGSpringContextTests does not support @UseAdviceWith when used with Spring boot
Date Tue, 15 Nov 2016 21:29:58 GMT
Chi Kim created CAMEL-10485:
-------------------------------

             Summary: 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)

Mime
View raw message