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

Message with null property value unable to be consumed via STOMP

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.27.1
    • 2.28.0
    • None
    • None

    Description

      Reproduction steps:

      • Bring up an ActiveMQ Artemis 2.27.0 broker, with a queue (anycast in our case)
      • Use JMS to send a text-message from Java code, with a JMS property (header) with key equal to a non-empty string and with value (string property) set to NULL. The message is added to the queue.
      • Use STOMP (we use stomp.py) to subscribe to the queue with the text-message on it. The message will not be received, apparently because of the null value in the JMS property (header). At the default logging level no issue is reported by ActiveMQ Artemis. Also via the STOMP protocol no error is received. Any messages that are added to the queue which do not have headers with a NULL value are received properly via STOMP.

      Note: we haven't tested what happens if the key is NULL and the value is not

      Workaround:

      • Use a value unequal to NULL for the value of each JMS property (header)

      Attachments

        Issue Links

          Activity

            People

              jbertram Justin Bertram
              jbertram Justin Bertram
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 10m
                  10m