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

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

    [ https://issues.apache.org/jira/browse/CAMEL-10485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15668459#comment-15668459 ] 

Claus Ibsen commented on CAMEL-10485:
-------------------------------------

camel-testng is depcreated. Please use camel-test and others which are junit based.

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