I am trying to connect to a websphere MQ queue manager from a camel route deployed as an OSGI bundle on Apache Service Mix.
I have deployed the IBM OSGI bundles that come with Websphere MQ and configured the Spring configuration as per below:-
<route>
....
<to uri="websphere-mq:queue:TOMTEST" />
</route>
<bean id="websphere-mq" class="org.apache.camel.component.jms.JmsComponent">
<property name="connectionFactory">
<bean class="com.ibm.mq.jms.MQQueueConnectionFactory">
<property name="transportType">
<util:constant static-field="com.ibm.mq.jms.JMSC.MQJMS_TP_CLIENT_MQ_TCPIP" />
</property>
<property name="hostName" value="...hostname..." />
<property name="port" value="...port..." />
<property name="queueManager" value="...qm..." />
<property name="channel" value="...channel..." />
<property name="useConnectionPooling" value="true" />
</bean>
</property>
</bean>
At runtime I'm getting this error => java.lang.ClassNotFoundException: javax.net.ssl.HandshakeCompletedListener not found by com.ibm.msg.client.osgi.wmq
None of the IBM bundles import javax.net.ssl and I can't really re-bundle them?
Has anyone managed to get a connection working to WMQ from servicemix/fuse - 4 ?
Any help is much appreciated.
Many thanks in advance, Tom