Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 38E08101EA for ; Tue, 3 Mar 2015 06:18:14 +0000 (UTC) Received: (qmail 53270 invoked by uid 500); 3 Mar 2015 06:18:04 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 53232 invoked by uid 500); 3 Mar 2015 06:18:04 -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 53223 invoked by uid 99); 3 Mar 2015 06:18:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Mar 2015 06:18:04 +0000 Date: Tue, 3 Mar 2015 06:18:04 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (CAMEL-8427) Camel 2.15 breaks useOverridePropertiesWithPropertiesComponent in test cases MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-8427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14344600#comment-14344600 ] Claus Ibsen edited comment on CAMEL-8427 at 3/3/15 6:17 AM: ------------------------------------------------------------ Cannot reproduce this - works fine https://github.com/apache/camel/commit/ae08cd979b1997f1cf4b560d03b2117e05c77dec was (Author: davsclaus): Do not use @Before > Camel 2.15 breaks useOverridePropertiesWithPropertiesComponent in test cases > ---------------------------------------------------------------------------- > > Key: CAMEL-8427 > URL: https://issues.apache.org/jira/browse/CAMEL-8427 > Project: Camel > Issue Type: Bug > Components: camel-test > Affects Versions: 2.15.0 > Reporter: Shreyas Purohit > Priority: Minor > Attachments: 2_15_SNAPSHOT.zip > > > A very simple project has been attached. The SFTP route has some properties which are being provided by using 'useOverridePropertiesWithPropertiesComponent' in CamelTestSupport. The test used to work fine before the latest March 2nd snapshot. It works with 2.14.1 version too. Now it fails with: > {code} > Caused by: java.lang.IllegalArgumentException: PropertiesComponent with name properties must be defined in CamelContext to support property placeholders. Property with key [sftp.userName] not found in properties from text: sftp://{{sftp.userName}}@{{sftp.hostname}}{{sftp.folder}}?moveFailed={{sftp.moveFailedFolder}}&privateKeyFile={{sftp.privateKeyFile}}&privateKeyPassphrase={{sftp.privateKeyPassphrase}}&readLock=changed&readLockCheckInterval=10000&readLockTimeout=40000&streamDownload=true&fastExistsCheck=true&idempotent=true&useFixedDelay=true&delete=true&recursive=true&stepwise=false > at org.apache.camel.component.properties.DefaultPropertiesParser$ParsingContext.getPropertyValue(DefaultPropertiesParser.java:268) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)