activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Bertram (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (ARTEMIS-1448) Core to JMS message fails to convert priority
Date Mon, 16 Oct 2017 16:28:00 GMT

     [ https://issues.apache.org/jira/browse/ARTEMIS-1448?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Justin Bertram resolved ARTEMIS-1448.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.4.0

> 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
>             Fix For: 2.4.0
>
>
> 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