ClassCastException when consuming messages using Openwire
Issue
When setting one of the following message properties:
"__HDR_BROKER_PATH"
"__HDR_CLUSTER"
"__HDR_USER_ID"
in an Openwire producer, the consumer will fail with the following error:
WARN [org.apache.activemq.artemis.core.server] Error during message dispatch: java.lang.ClassCastException: org.apache.activemq.artemis.api.core.SimpleString cannot be cast to java.lang.String
Environment
Red Hat AMQ, 7.8.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.