Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-1374

Java client throws NullPointerException when header " message properties" is not set

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • M4
    • 0.5
    • JMS AMQP 0-x
    • None

    Description

      The java JMS layer expects that all messages have message properties set. This is however not always the case as AMQP doesn't mandate the message properties header to always be set. For example the python client doesn't set the message properties when they are empty.

      How to reproduce:

      • Send messages using the python client
      • Consume those messages with a java consumer

      Solution:
      update AbstractJMSMessageFactory and MessageFactoryRegistry for dealing with null message properties header

      Attachments

        Activity

          People

            rajith Rajith Muditha Attapattu
            arnaudsimon Arnaud Simon
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: