Description
on upgrade from 5.8 to 5.9
<bean id="con-factory" class="org.apache.activemq.spring.ActiveMQConnectionFactory"> <property name="brokerURL" value="tcp://xxxxx:xxx" /> </bean> <bean id="activemq-for-consumer" class="org.apache.activemq.pool.PooledConnectionFactoryBean" destroy-method="stop"> <property name="connectionFactory" ref="con-factory"></property> </bean>
When I ran the old project,I got the exception:
java.lang.ClassNotFoundException:
org.apache.activemq.jms.pool.PooledConnectionFactory
I checked the activemq-all-5.9.0.jarand didn't see the package of
org.apache.activemq.jms in it.