Caa_man wrote
> We`d like to have camel-route with ActiveMQ and WebSphereMQ adapters
> simultaneously.
>  
> Everything works fine if we use WMQ only. But some strange error appears
> when we add ActiveMQ jars (activemq-camel):
> 
> ... nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'jmsTemplate' defined in class path resource
> [camel-main.xml]: Initialization of bean failed; nested exception is
> org.springframework.beans.ConversionNotSupportedException: Failed to
> convert property value of type 'com.ibm.mq.jms.MQXAQueueConnectionFactory'
> to required type 'javax.jms.ConnectionFactory' for property
> 'connectionFactory'; nested exception is java.lang.IllegalStateException:
> Cannot convert value of type [com.ibm.mq.jms.MQXAQueueConnectionFactory]
> to required type [javax.jms.ConnectionFactory] for property
> 'connectionFactory': no matching editors or conversion strategy found 

I've seen errors like this when using WSMQ and AMQ as well, and in all
instances they have been a result of classpath conflicts, typically because
you'll have packages like javax.jms on your classpath twice. Make sure there
is only one, and you should be fine.

Jens



--
View this message in context: 
http://camel.465427.n5.nabble.com/ActiveMQ-and-WebSphereMQ-tp5721492p5721494.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to