Trouble send XML data from FUSE to AMQ broker and read it within MDB JBoss
How can I debug/trace this error?
We are using a Fuse on karaf sending data on a queue on a AMQ broker and JBoss MDB reading from that remote broker the queue...
Following error(s) in Jboss:
1.
2020-07-06 19:32:46,141 ERROR [org.apache.activemq.artemis.ra] (Thread-11 (ActiveMQ-client-global-threads)) AMQ154004: Failed to deliver message: javax.ejb.EJBTransactionRolledbackException: java.lang.ClassCastException: org.apache.activemq.artemis.jms.client.compatible1X.ActiveMQTextCompatibleMessage cannot be cast to javax.jms.ObjectMessage
2.
Caused by: javax.jms.JMSRuntimeException: AMQ139012: The property name 'JMS_AMQP_MA_x-opt-jms-msg-type' is not a valid java identifier.
Can I set the JMSType and override the AMQP_MA-opt-jms-msg-type from the fuse-camel-broker connection?
Best regards,
Fredrik