Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-1448

Core to JMS message fails to convert priority

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.3.0
    • 2.4.0
    • AMQP
    • None

    Description

      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:

      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)
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jmesnil Jeff Mesnil
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: