Hi James, this was a direct hit. I'm developing on the Eclipse RCP and so I had different jms.jar's visible from different plug in's.
Thank you very much, Rudi James.Strachan wrote: > > Do you have multiple jms jars on the classpath? > > On 12/12/2007, Rudi23 <[EMAIL PROTECTED]> wrote: >> >> Hello, >> >> I'm trying to use ActiveMq with Spring as it is described on the >> homepage. >> >> So in my beans.xml i put this: >> >> <bean id="jmsFactory" >> class="org.apache.activemq.pool.PooledConnectionFactory" >> destroy-method="stop"> >> <property name="connectionFactory"> >> <bean >> >> class="org.apache.activemq.ActiveMQConnectionFactory"> >> <property name="brokerURL"> >> >> <value>tcp://192.168.70.201:61616</value> >> </property> >> </bean> >> </property> >> </bean> >> >> <!-- Spring JMS Template --> >> <bean id="myJmsTemplate" >> class="org.springframework.jms.core.JmsTemplate"> >> <property name="connectionFactory"> >> <ref local="jmsFactory" /> >> </property> >> </bean> >> >> Then I starup my application and get the following error: >> >> org.springframework.beans.TypeMismatchException: Failed to convert >> property >> value of type [org.apache.activemq.pool.PooledConnectionFactory] to >> required >> type [javax.jms.ConnectionFactory] for property 'connectionFactory': no >> matching editors or conversion strategy found >> >> Could anyone please give me a hint, how I can resolve this problem? How >> can >> I implement or configure a matching editor or conversion strategy? >> >> Thank you in advance, >> Rudi >> -- >> View this message in context: >> http://www.nabble.com/ActiveMQ-with-Spring-tp14295061s2354p14295061.html >> Sent from the ActiveMQ - User mailing list archive at Nabble.com. >> >> > > > -- > James > ------- > http://macstrac.blogspot.com/ > > Open Source Integration > http://open.iona.com > > -- View this message in context: http://www.nabble.com/ActiveMQ-with-Spring-tp14295061s2354p14311746.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.