Where is the spring rabbit XSD (schema location for the rabbit: namespace)

By : Bozho
Source: Stackoverflow.com
Question!

http://static.springsource.org/spring-amqp/docs/1.0.x/reference/html/ mentions the rabbit: namespace, but never mentions what is the schema location. Googling (and naming conventions) ended up with:

http://www.springframework.org/schema/rabbit/spring-rabbit.xsd

but this files does not exist. So where is the xsd?

By : Bozho


Answers

It should be included in the AMQP jars. According to this thread you should use the snapshot version instead of RC1 and then you shouldn't receive any errors.

By : abalogh


Find a spring jar with META-INF/spring.schemas that has a reference to the rabbit xsd. The problem was resolved in my config by adding this maven dependency

    
By : Bob


I know this question is older and my answer probably would not have worked at the time of the original question, but in case anyone happens on to this question after today...

The spring rabbit xsd is currently located here:

http://www.springframework.org/schema/rabbit/spring-rabbit-1.0.xsd

And to use it, you must have spring-rabbit-1.0.0.RELEASE.jar in your classpath.



This video can help you solving your question :)
By: admin