java.lang.IllegalStateException: 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 @328ac087; jakarta.jms.ConnectionFactory is in unnamed module of loader org.apache.nifi.nar.NarClassLoader @e3994ef)
Looked up the code and saw in JMSConnectionFactoryHandler.java
if (connectionFactoryValue.startsWith("com.ibm.mq.jms")) {
List<String> ibmConList = new ArrayList<String>();
for (String broker : brokerList) {
String[] hostPort = broker.split(":");
if (hostPort.length == 2) {
ibmConList.add(hostPort[0] + "(" + hostPort[1] + ")");
} else {
ibmConList.add(broker);
}
}
Is this a bug or do I do something wrong ?
Tiemen Fiat
DTCA
------------------------------------------------------------------------
De Belastingdienst stelt e-mail niet open voor aanvragen, aangiften, bezwaarschriften, verzoeken, klachten, ingebrekestellingen en soortgelijke formele berichten.
Dit bericht is uitsluitend bestemd voor de geadresseerde. Het bericht kan vertrouwelijke informatie bevatten waarvoor de fiscale geheimhoudingsplicht geldt. Als u dit bericht per abuis hebt ontvangen, wordt u verzocht het te verwijderen en de afzender te informeren.
The Dutch Tax Administration does not accept filings, requests, appeals, complaints, notices of default or similar formal notices, sent by email.
This message is solely intended for the addressee. It may contain information that is confidential and legally privileged. If you are not the intended recipient please delete this message and notify the sender.