Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 71053 invoked from network); 22 Mar 2007 13:37:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Mar 2007 13:37:53 -0000 Received: (qmail 25414 invoked by uid 500); 22 Mar 2007 13:37:56 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 25396 invoked by uid 500); 22 Mar 2007 13:37:56 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 25378 invoked by uid 99); 22 Mar 2007 13:37:56 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Mar 2007 06:37:55 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of gcjau-user-2@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Mar 2007 06:37:47 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HUNTf-0000C0-31 for users@activemq.apache.org; Thu, 22 Mar 2007 14:37:15 +0100 Received: from vip.schaubroeck.be ([193.75.212.66]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 22 Mar 2007 14:37:15 +0100 Received: from ge0ffrey.spam by vip.schaubroeck.be with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 22 Mar 2007 14:37:15 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: users@activemq.apache.org From: Geoffrey De Smet Subject: Re: Is there a patched version of activemq for spring (AMQ-1016)? Date: Thu, 22 Mar 2007 14:36:45 +0100 Lines: 38 Message-ID: References: <4602797F.4070101@alewando.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: vip.schaubroeck.be User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) In-Reply-To: <4602797F.4070101@alewando.com> Sender: news X-Virus-Checked: Checked by ClamAV on apache.org My xsd is a copy from http://picorg.net/schema/activemq-4.1-working-V4.2.xsd Where in my jar should I drop it? In the META-INF directory? With kind regards, Geoffrey De Smet Adam Lewandowski schreef: > Geoffrey De Smet wrote: >> AMQ-1016 is blocking our spring-based application. >> So far we've used this stopgap in development: >> xsi:schemaLocation="http://www.springframework.org/schema/beans >> http://www.springframework.org/schema/beans/spring-beans.xsd >> http://activemq.org/config/1.0 >> http://mydomain.com/schema/activemq-4.1-working-V4.2.xsd" > If you create your own META-INF/spring.schemas file and include it in > your application's classpath Spring's entity resolver will be able to > find the schema locally, as long as the system id ends in '.xsd' (yours > does). Using your example above, the spring.schemas file would read: > > http\://mydomain.com/schema/activemq-4.1-working-V4.2.xsd=activemq.xsd > > This will cause the entity resolver to look for a 'activemq.xsd' file on > the classpath. In the 4.1 release, this file is included in the > distributed jar file so it won't go out to find the file over the > network. However, I've not been able to use the included schema file due > to validation problems. Your mileage may vary, but I couldn't even get > the example from the wiki to work with the included schema. I was able > to hack on the schema to make it work, but I've decided to hold off on > using the Spring schema support for now until it's usable out of the box. > See the thread at > http://www.nabble.com/Spring-2.0-schema-support-tf3411001s2354.html for > more details. > > Adam Lewandowski >