You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Chi Kim (JIRA)" <ji...@apache.org> on 2016/11/15 21:29:58 UTC

[jira] [Created] (CAMEL-10485) AbstractCamelTestNGSpringContextTests does not support @UseAdviceWith when used with Spring boot

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)