Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 43618 invoked from network); 2 Sep 2010 15:05:09 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Sep 2010 15:05:09 -0000 Received: (qmail 56565 invoked by uid 500); 2 Sep 2010 15:05:09 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 56491 invoked by uid 500); 2 Sep 2010 15:05:08 -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 56143 invoked by uid 500); 2 Sep 2010 15:05:04 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 56133 invoked by uid 99); 2 Sep 2010 15:05:04 -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 15:05:04 +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 15:05:02 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o82F4gjx021617 for ; Thu, 2 Sep 2010 15:04:42 GMT Message-ID: <21181781.8441283439882305.JavaMail.jira@thor> Date: Thu, 2 Sep 2010 11:04:42 -0400 (EDT) From: "Ashwin Karpe (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Commented: (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:comment-tabpanel&focusedCommentId=61637#action_61637 ] Ashwin Karpe commented on CAMEL-2791: ------------------------------------- Hi Claus, Sure, No worries... I was reviewing the component code and wanted my approach to be clear as to whether we were doing a load of system properties using a location "system:..." or whether it as a default fallback to do a lookup and adjust. I will implement the solution as an override and provide fallback as a check before giving up. Do you think there is any merit to adding a "system:..." as an addtional way of injecting properties inderpendently like "file:..."? Please let me know. 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 > > > 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.