DEV Community

Pravakar Panigrahi
Pravakar Panigrahi

Posted on

Apache NiFi 2.0 support for IBM MQ 9.2 through JMS

Does Nifi 2.0 supports IBM MQ 9.2 through JMS?

MQ 9.3 added support for Jakarta messaging. That is working fine for Apache Nifi 2.0 using JMS processor. However, it is failing for MQ 9.2 and throwing class cast exception as shown below

ERROR [Timer-Driven Process Thread-5] o.a.n.j.cf.JMSConnectionFactoryProvider JMSConnectionFactoryProvider[id=5375f4df-0193-1000-3023-0c7084045874] Failed to configure JMSConnectionFactoryHandler

java.lang.ClassCastException: class com.ibm.mq.jms.MQConnectionFactory cannot be cast to class jakarta.jms.ConnectionFactory (com.ibm.mq.jms.MQConnectionFactory is in unnamed module of loader org.apache.nifi.nar.InstanceClassLoader @5a30ab46; jakarta.jms.ConnectionFactory is in unnamed module of loader org.apache.nifi.nar.NarClassLoader @383790cf)
Enter fullscreen mode Exit fullscreen mode

Top comments (0)