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 DEF74200C79 for ; Fri, 19 May 2017 08:39:56 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id DD604160BD1; Fri, 19 May 2017 06:39:56 +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 26AB3160BBE for ; Fri, 19 May 2017 08:39:56 +0200 (CEST) Received: (qmail 95690 invoked by uid 500); 19 May 2017 06:39:55 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Delivered-To: moderator for users@camel.apache.org Received: (qmail 8050 invoked by uid 99); 19 May 2017 05:40:06 -0000 X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.487 X-Spam-Level: *** X-Spam-Status: No, score=3.487 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_SOFTFAIL=0.972, URIBL_BLOCKED=0.001, URI_HEX=1.313] autolearn=disabled Date: Thu, 18 May 2017 22:40:03 -0700 (MST) From: "shweta.kumari13feb@gmail.com" To: users@camel.apache.org Message-ID: <1495172403410-5799829.post@n5.nabble.com> Subject: My camel test is not reading the injected value from blueprint.xml MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit archived-at: Fri, 19 May 2017 06:39:57 -0000 HI, I have written my camel test for a routebuilder , where one property is injected from blueprint.xml. In my test class, the value of that property always comes as false(as it boolean , so default is false). But in blueprint.xml I have made it as true. Also , i tried using loadConfigAdminConfigurationFile and useOverridePropertiesWithConfigAdmin. Nothing is working. My entry on blueprint.xml My entry in the RouteBuilder class @PropertyInject("value.enabled") private boolean valueEnabled; -- View this message in context: http://camel.465427.n5.nabble.com/My-camel-test-is-not-reading-the-injected-value-from-blueprint-xml-tp5799829.html Sent from the Camel - Users mailing list archive at Nabble.com.