Sep 22nd, 2008, 03:06 PM
Active Mq 5.1 w/ Spring
I trying to use Spring with Active MQ 5.1 using Spring's xml schema based configuration, however it looks like I'm running into issues with the xsd. Any suggestions? Please see attachment as I am not allowed to post urls (which are in the spring config file). Error is org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'htt..p//activemq.apache.org/schema/core/activemq-core-5.1.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
Last edited by aurealus; Sep 22nd, 2008 at 03:17 PM.
Sep 22nd, 2008, 03:56 PM
Nevermind, I was able to find the solution after some digging, it appears the doc at htt..p://activemq.apache.org/xml-reference.html is incorrect. Once I changed the spring file to point to the internal xsd files from the activemq jar (from Meta-Inf/spring.schemas), I was ok.
For anyone that has this issue, here is my updated xml.