Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 69625 invoked from network); 2 Sep 2010 21:39:02 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Sep 2010 21:39:02 -0000 Received: (qmail 35608 invoked by uid 500); 2 Sep 2010 21:39:02 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 35561 invoked by uid 500); 2 Sep 2010 21:39:02 -0000 Mailing-List: contact dev-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 dev@camel.apache.org Received: (qmail 35548 invoked by uid 500); 2 Sep 2010 21:39:02 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 35545 invoked by uid 99); 2 Sep 2010 21:39:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Sep 2010 21:39:02 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Sep 2010 21:39:01 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o82LceRw003309 for ; Thu, 2 Sep 2010 21:38:41 GMT Message-ID: <30599018.8941283463520447.JavaMail.jira@thor> Date: Thu, 2 Sep 2010 17:38:40 -0400 (EDT) From: "Ashwin Karpe (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Updated: (CAMEL-2791) Properties component - Add option to let it look first/last for JVM system property In-Reply-To: <1593847.9461275660711786.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c [ https://issues.apache.org/activemq/browse/CAMEL-2791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashwin Karpe updated CAMEL-2791: -------------------------------- Attachment: CAMEL-2791-Properties-fix.diff Hi Claus, Please find attached a patch for this issue. It is a small fix. I have performed the necessary checkstyle sourcecheck, and added a unit test to verify that it works. I will check it in tomorrow a.m after incorporating any final comments you may have. Cheers, Ashwin... > Properties component - Add option to let it look first/last for JVM system property > ----------------------------------------------------------------------------------- > > Key: CAMEL-2791 > URL: https://issues.apache.org/activemq/browse/CAMEL-2791 > Project: Apache Camel > Issue Type: New Feature > Components: camel-core > Affects Versions: 2.3.0 > Reporter: Claus Ibsen > Assignee: Ashwin Karpe > Priority: Minor > Fix For: Future > > Attachments: CAMEL-2791-Properties-fix.diff > > > See nabble > http://old.nabble.com/File-Consumer-directoryName-problem-ts28777347.html > By default the properties component will only resolve properties from properties files. > But sometimes you may want to be able to set a JVM system property with either *override* or is used as *fallback* in case of a key. Such as if a key is missing it can fallback to a JVM key. Or a JVM key can override an existing key in the properties file. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.