Good afternoon,
I am using an Apache Camel route (version 4.8.0) and moving messages from an
ActiveMQ Classic broker (version 5.5.1) to another ActiveMQ Classic broker
(version 6.1.7).
The operating system is Rocky Linux 9.
When I run the Camel route and it connects to the 5.5.1 source server I get:
...
2026-02-03 22:11:03,335 WARN
[org.apa.cam.com.jms.DefaultJmsMessageListenerContainer] (Camel (camel-1)
thread #2 - JmsConsumer[test]) Setup of JMS message listener invoker failed for
destination 'test' - trying to recover. Cause: The JMS connection has failed:
Invalid version: 7, could not load
org.apache.activemq.openwire.v7.MarshallerFactory
2026-02-03 22:11:03,349 ERROR
[org.apa.cam.com.jms.DefaultJmsMessageListenerContainer] (Camel (camel-1)
thread #2 - JmsConsumer[test]) Could not refresh JMS Connection for destination
'test' - retrying using FixedBackOff{interval=5000, currentAttempts=0,
maxAttempts=unlimited}. Cause: Disposed due to prior exception
….
The error I get on the source 5.5.1 broker is:
2026-02-03 22:11:08,359 | INFO | Transport failed: java.io.IOException:
Unknown data type: 68 |
org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport:
tcp:///172.31.24.115:49406
I have tried adjusting the wireFormat.version to 5,6,7 and even zero.
Maybe I should use STOMP or WS protocol instead? AMQP is not available on
ActiveMQ Classic 5.5.1.
Regards,
William Crowell
This e-mail may contain information that is privileged or confidential. If you
are not the intended recipient, please delete the e-mail and any attachments
and notify us immediately.