You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Jeff Mesnil (JIRA)" <ji...@apache.org> on 2017/10/04 14:28:00 UTC

[jira] [Created] (ARTEMIS-1448) Core to JMS message fails to convert priority

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)