Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 21988200BC0 for ; Tue, 15 Nov 2016 22:30:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 201D9160B15; Tue, 15 Nov 2016 21:30:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 5F322160AF2 for ; Tue, 15 Nov 2016 22:29:59 +0100 (CET) Received: (qmail 80463 invoked by uid 500); 15 Nov 2016 21:29:58 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 80447 invoked by uid 99); 15 Nov 2016 21:29:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Nov 2016 21:29:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 617A52C4C73 for ; Tue, 15 Nov 2016 21:29:58 +0000 (UTC) Date: Tue, 15 Nov 2016 21:29:58 +0000 (UTC) From: "Chi Kim (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CAMEL-10485) AbstractCamelTestNGSpringContextTests does not support @UseAdviceWith when used with Spring boot MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 15 Nov 2016 21:30:00 -0000 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)