Ibm mq 将Apache ServiceMix连接到Websphere MQ

Ibm mq 将Apache ServiceMix连接到Websphere MQ,ibm-mq,apache-servicemix,Ibm Mq,Apache Servicemix,我正在尝试从部署为Apache Service Mix上的OSGI捆绑包的驼峰路由连接到websphere MQ队列管理器 我已经部署了Websphere MQ附带的IBM OSGI捆绑包,并按照以下方式配置了Spring配置:- <route> .... <to uri="websphere-mq:queue:TOMTEST" /> </route> <bean id="websphere-mq" class="org.apache.

我正在尝试从部署为Apache Service Mix上的OSGI捆绑包的驼峰路由连接到websphere MQ队列管理器

我已经部署了Websphere MQ附带的IBM OSGI捆绑包,并按照以下方式配置了Spring配置:-

<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>

....
在运行时,我得到以下错误=>java.lang.ClassNotFoundException:javax.net.ssl.HandshakeCompletedListener未被com.ibm.msg.client.osgi.wmq找到

IBM捆绑包都没有导入javax.net.ssl,我真的不能重新捆绑它们吗

有人设法从servicemix/fuse-4连接到WMQ吗

非常感谢您的帮助

事先非常感谢,汤姆在这里得到了回答。将其粘贴到下面:

汤姆

好的,还有别的东西可以试试。。。有时在处理奇怪的类加载问题时,尝试另一个OSGi框架会有所帮助。Felix和Equinox都实现了规范,但在幕后处理事情的方式不同。因此,要尝试Equinox而不是Felix,请打开etc/config.properties并进行以下更改:

karaf.framework=equinox

请确保在再次启动ESB之前删除“data”dir