AMQ342009: JMS Bridge ACHBridgeResp failed to send + acknowledge batch, closing JMS objects: java.lang.UnsupportedOperationException: CorrelationID as byte array is not supported

Solution Verified - Updated -

Issue

JMS Bridge between JBoss EAP 7 and TIBCO EMS Message broker throws the following exception :

WARN  [org.apache.activemq.artemis.jms.bridge] (Thread-186) AMQ342009: JMS Bridge ACHBridgeResp failed to send + acknowledge batch, closing JMS objects: java.lang.UnsupportedOperationException: CorrelationID as byte array is not supported
    at com.tibco.tibjms.TibjmsMessage.getJMSCorrelationIDAsBytes(TibjmsMessage.java:360)
    at org.apache.activemq.artemis.jms.client.ActiveMQMessage.<init>(ActiveMQMessage.java:261)
    at org.apache.activemq.artemis.jms.client.ActiveMQTextMessage.<init>(ActiveMQTextMessage.java:63)
    at org.apache.activemq.artemis.jms.client.ActiveMQMessageProducer.doSendx(ActiveMQMessageProducer.java:429)
    at org.apache.activemq.artemis.jms.client.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:222)
    at org.apache.activemq.artemis.jms.bridge.impl.JMSBridgeImpl.sendMessages(JMSBridgeImpl.java:1627)
    at org.apache.activemq.artemis.jms.bridge.impl.JMSBridgeImpl.sendBatchXA(JMSBridgeImpl.java:1522)
    at org.apache.activemq.artemis.jms.bridge.impl.JMSBridgeImpl.sendBatch(JMSBridgeImpl.java:1433)
    at org.apache.activemq.artemis.jms.bridge.impl.JMSBridgeImpl.access$1800(JMSBridgeImpl.java:77)
    at org.apache.activemq.artemis.jms.bridge.impl.JMSBridgeImpl$SourceReceiver.run(JMSBridgeImpl.java:1829)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:750)

Environment

Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
- 7.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content