Cannot convert value of type [com.ibm.mq.jms.MQConnectionFactory] to required type [javax.jms.ConnectionFactory] for property 'connectionFactory': no matching editors or conversion strategy found
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:cxf="http://camel.apache.org/schema/cxf" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd http://camel.apache.org/schema/cxf http://camel.apache.org/schema/cxf/camel-cxf.xsd"> <bean id="bankconnectRoutes" class="dk.bankconnect.hub.controller.CentralRouter" /> <bean id="activemq" class="org.apache.camel.component.jms.JmsComponent"> <property name="connectionFactory"> <bean class="com.ibm.mq.jms.MQConnectionFactory"> <property name="transportType" value="1"/> <property name="hostName" value="bdaix416.bdunet.dk"/> <property name="port" value="1414"/> <property name="queueManager" value="HUB_T_416"/> <property name="channel" value="SYSTEM.DEF.SVRCONN"/> </bean> </property> </bean> <cxf:cxfEndpoint id="hubws" address="/CorporateService" xmlns="http://service.bankconnect.dk" wsdlURL="WEB-INF/bankconnect.wsdl" /> <camelContext xmlns="http://camel.apache.org/schema/spring" > <propertyPlaceholder id="props" location="hubrouting.properties" /> <routeBuilder ref="bankconnectRoutes" /> <endpoint id="becws" uri="{{bec.url}}" /> <endpoint id="bdws" uri="{{bd.url}}" /> <endpoint id="sdcws" uri="{{sdc.url}}" /> </camelContext> </beans> Included this jars. camel-jms-2.12.1.jar spring-jms-3.0.5.RELEASE.jar A lot of IBM-mq-client jars version 7.0.1.1 that contains "com.ibm.mq.jms.MQConnectionFactory when i remove the spring jar file..... Caused by: java.lang.NoClassDefFoundError: org.springframework.jms.support.converter.MessageConverter I get the error when i start the server with my camel projekt. Running i wepbsphere. I now its a classpath issue, but can figure out what is wrong here ? -- View this message in context: http://camel.465427.n5.nabble.com/Classpath-problem-any-good-ideas-tp5753335.html Sent from the Camel - Users mailing list archive at Nabble.com.
