Classloader conflict when using IBM W-MQ OSGi bundles in Fuse 6.3.0
Issue
This problem is seen when using the OSGi version of the WebSphere MQ (W-MQ) client runtime with Fuse 6.3.0. A Camel route that communicates with W-MQ fails to start, and the following message is seen in the Fuse log:
Caused by: java.lang.Exception: Unable to convert value | com.ibm.mq.jms.MQConnectionFactory@c79b6829 :-
...
to type javax.jms.ConnectionFactory
at org.apache.aries.blueprint.container.AggregateConverter.convert(AggregateConverter.java:184)[21:org.apache.aries.blueprint.core:1.4.5]
...
Environment
- JBoss Fuse
- 6.3.0
- IBM WebSphere MQ Client
- 7.5
- 8.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
