activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Mesnil (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ARTEMIS-1448) Core to JMS message fails to convert priority
Date Wed, 04 Oct 2017 14:28:00 GMT
Jeff Mesnil created ARTEMIS-1448:
------------------------------------

             Summary: Core to JMS message fails to convert priority
                 Key: ARTEMIS-1448
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1448
             Project: ActiveMQ Artemis
          Issue Type: Bug
          Components: AMQP
    Affects Versions: 2.3.0
            Reporter: Jeff Mesnil


Create a core client message with a priority of 9.
Calls ICoreMessage.toMap() and then org.apache.activemq.artemis.jms.client.ActiveMQMessage#coreMaptoJMSMap()
results in a ClassCastException:

{code}
java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Byte

	at org.apache.activemq.artemis.jms.client.ActiveMQMessage.coreMaptoJMSMap(ActiveMQMessage.java:72)
	at org.apache.activemq.artemis.jms.client.ConversionTest.testCoreToJMSConversion(ConversionTest.java:48)
{code}





--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message