Hi
Trying to establish connection from Fuse ESB, the below configuration I made in Camel-context .xml without QueueManager but not able to connect to IBM MQ. Please assist.
Followed the below steps.
1. Deployed the below list of jars in jboss-fuse-6.2.0.redhat-133\deploy folder
a. com.ibm.mq.osgi.allclient_8.0.0.4
b. com.ibm.mq.osgi.allclientprereqs_8.0.0.4
c. com.ibm.mq.tracecontrol
d. fscontext
e.jms
f. JSON4J
g. providerutil
2. Deployed poc project with the below configuration in jboss-fuse-6.2.0.redhat-133\deploy folder
<!-- ********************* IBM MQ configuration ************************** -->
<bean id="ibmmq" class="org.apache.camel.component.jms.JmsComponent">
<property name="configuration" ref="jmsConfig" />
</bean>
<bean id="jmsConfig" class="org.apache.camel.component.jms.JmsConfiguration">
<property name="connectionFactory" ref="remoteFactory" />
</bean>
<!-- Configure IBM WebSphere MQ queue connection factory -->
<bean id="remoteFactory" class="com.ibm.mq.jms.MQConnectionFactory">
<property name="transportType" value="1"/>
<property name="hostName" value="localhost"/>
<property name="port" value="1414"/>
</bean>
Issue:
Caused by: org.springframework.beans.conversionNotSupportedException: Failed to convert property value of type 'com.ibm.mq.jms.MQConnectionFactory' to required type 'javax.jms.ConnectionFacoty' for property 'remoteFactory':