Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 64468 invoked from network); 5 Oct 2010 14:04:04 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 Oct 2010 14:04:04 -0000 Received: (qmail 85481 invoked by uid 500); 5 Oct 2010 14:04:04 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 85377 invoked by uid 500); 5 Oct 2010 14:04: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 85369 invoked by uid 500); 5 Oct 2010 14:04:01 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 85366 invoked by uid 99); 5 Oct 2010 14:04:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Oct 2010 14:04:01 +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; Tue, 05 Oct 2010 14:04:01 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o95E3e1r017289 for ; Tue, 5 Oct 2010 14:03:40 GMT Message-ID: <5609304.45581286287420664.JavaMail.jira@thor> Date: Tue, 5 Oct 2010 10:03:40 -0400 (EDT) From: "Guillaume Nodet (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Commented: (CAMEL-3171) Allow property placeholders to be used anywhere in Spring XML (and blueprint as well) In-Reply-To: <8571544.35791285677280400.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-3171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=62368#action_62368 ] Guillaume Nodet commented on CAMEL-3171: ---------------------------------------- Not sure to understand the issue. Is the issue in the xsd (which defines for example xsd:int, so can't be validated) or in the namespace handler? The only way to fix the xsd would be to relax the schema generation and use strings somehow (i guess there are jaxb2 annotation to enforce the xsd:type to use). Not sure what the problem / limitations with placeholders you're talking about are. > Allow property placeholders to be used anywhere in Spring XML (and blueprint as well) > ------------------------------------------------------------------------------------- > > Key: CAMEL-3171 > URL: https://issues.apache.org/activemq/browse/CAMEL-3171 > Project: Apache Camel > Issue Type: Improvement > Components: camel-blueprint, camel-core, camel-spring > Affects Versions: 2.4.0 > Reporter: Claus Ibsen > Assignee: Claus Ibsen > Fix For: 3.0.0 > > > When using Spring XML or blueprint there is a XSD defining what types the EIP attributes uses. > For example a timeout would be xs:int, and there could be xs:boolean etc. > But you may want to use property placeholders so you can do > {code} > timeout="{{foo.myTimeout}}" > {code} > Where {{foo.myTimeout}} is the properties stuff. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.