Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 47738 invoked from network); 1 May 2007 09:18:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 May 2007 09:18:57 -0000 Received: (qmail 31632 invoked by uid 500); 1 May 2007 09:19:04 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 31502 invoked by uid 500); 1 May 2007 09:19:03 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 31493 invoked by uid 99); 1 May 2007 09:19:03 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 May 2007 02:19:03 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of james.strachan@gmail.com designates 66.249.82.226 as permitted sender) Received: from [66.249.82.226] (HELO wx-out-0506.google.com) (66.249.82.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 May 2007 02:18:55 -0700 Received: by wx-out-0506.google.com with SMTP id h29so1852290wxd for ; Tue, 01 May 2007 02:18:35 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=ixz4sq0L1k/YFYRhgFTWOqZU9y6T6xco1yvnZSIA/zjei7Jsg5Y3HhTb8r81Nd0ZC9HBv+7O4/b5btSywOyCYOTQ0wyHjQnxKatFSIdZhxB/pjcMilYv6LmW12i7SbrBCDHm1y0zgK9nHzDVKs7pk3u2rraFn09rvGx+BszrUxI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=dirdp8XdQTlNi81geJgRLmqZGnmanWTPMZV67i2MPlIsVDi44h/u2mFbvjjLCEaqH8SO/2wsYxoAILO+Z8DJt376ViqFPkQT19w6fX+Na6vPbRi2r0B5LFn+LmwjjtT45Terxs05AVw5ij5KjfP2sZX6O24QqDh1vuT358ph61Y= Received: by 10.90.97.11 with SMTP id u11mr5920909agb.1178011115310; Tue, 01 May 2007 02:18:35 -0700 (PDT) Received: by 10.90.67.18 with HTTP; Tue, 1 May 2007 02:18:35 -0700 (PDT) Message-ID: Date: Tue, 1 May 2007 10:18:35 +0100 From: "James Strachan" To: dev@activemq.apache.org Subject: [camel] dealing with references in the XML MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org There are a few cases where we support plugin-points in the XML for things like and where we reference another bean. Currently we use the #foo String value (which although its xbean friendly, isn't common to normal users of Spring). So I'm thinking we should change the schema to support things like this... ... (i.e. avoiding the # character in front of references). Hopefully with some XSD magic we might be able to get IDEs to smart complete the ref values too. Then as well it'd be nice to be able to support this option... ... to avoid importing the whole spring schema into camels, we probably wanna namespace that... So I guess we need an annotation to mark the parameters which are 'either a ref attribute or a nested bean element' so that the XML parser can spot these points? Thoughts? -- James ------- http://macstrac.blogspot.com/