Hi, I am specifying schema location in xml configuration as shown below: --------------------
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://activemq.apache.org/schema/core
http://activemq.apache.org/schema/core/activemq-core-5.8.0.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-2.5.xsd
http://www.springframework.org/schema/jms
http://www.springframework.org/schema/jms/spring-jms-2.5.xsd">
------------------
According to my understanding here we are specifying spring schema xsd to
validate the xml configuration in the file.
But by specifying like
"*http://www.springframework.org/schema/beans/spring-beans-2.5.xsd*"
requires internet connection to get the schema xsd.
Instead of this we can also specify it as classpath:"location of xsd in jar
file" as discussed here
http://stackoverflow.com/questions/1729307/spring-schemalocation-fails-when-there-is-no-internet-connection
Please let me know that which way is better and correct me if I am wrong.
Thanks,
Anuj
--
View this message in context:
http://activemq.2283324.n4.nabble.com/ActiveMQ-spring-configuration-tp4682563.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
