Need guidance on Introduction to Spring JMS Active MQ <p>I am following <a href="http://icodingclub.blogspot.com/2011/07/introduction-of-spring-jms-with.html" rel="nofollow">"I coding blog"</a> which is very good for someone like me who wants to get into Spring, JMS and ActiveMQ.</p> <p>When I run TestJMSListener as a java application, I am getting following error:</p> <pre><code>Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'connectionFactory' defined in class path resource [com/jms/helloworld/config/JMSConfig.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'brokerurl' of bean class [org.apache.activemq.ActiveMQConnectionFactory]: Bean property 'brokerurl' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter? </code></pre> <p>I do not know how to fix it, below is my JMSConfig.xml file:</p> <pre><code>your xml file here. </code></pre>