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

QueueControl fails on serializing AMQP messages with binary application properties

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.17.0
    • None
    • None

    Description

      The QueueControl fails to get the first message as JSON if the first message of a queue is an AMQP message with binary application properties:

      java.lang.IllegalArgumentException: AMQ219034: Params for management operations must be of the following type: int long double String boolean Map or array thereof but found org.apache.qpid.proton.amqp.Binary
      
      	at org.apache.activemq.artemis.api.core.JsonUtil.addToObject(JsonUtil.java:214)
      	at org.apache.activemq.artemis.api.core.JsonUtil.toJsonObject(JsonUtil.java:260)
      	at org.apache.activemq.artemis.core.management.impl.QueueControlImpl.toJSONMsgArray(QueueControlImpl.java:95)
      	at org.apache.activemq.artemis.core.management.impl.QueueControlImpl.toJSON(QueueControlImpl.java:88)
      	at org.apache.activemq.artemis.core.management.impl.QueueControlImpl.getFirstMessageAsJSON(QueueControlImpl.java:916)
      ...
      

      Attachments

        Issue Links

          Activity

            People

              brusdev Domenico Francesco Bruscino
              brusdev Domenico Francesco Bruscino
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h