Support Questions

Find answers, ask questions, and share your expertise

Apache Nifi 2.0 support for IBM MQ 9.2 using JMS

avatar
New Contributor

Does Apache Nifi 2.0 supports IBM MQ 9.2 using JMS processor?

As per this article from IBM, 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

2024-11-22 17:26:01,822 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)
1 REPLY 1

avatar
Community Manager

@Pravakar, Welcome to our community! To help you get the best possible answer, I have tagged in our NiFi experts @SAMSAL @MattWho  who may be able to assist you further.

Please feel free to provide any additional information or details about your query, and we hope that you will find a satisfactory solution to your question.



Regards,

Vidya Sargur,
Community Manager


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community: