Uploaded image for project: 'Qpid JMS'
  1. Qpid JMS
  2. QPIDJMS-89

MapMessages that are not annotated as such, are handled as ObjectMessages by the consumer instead

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 0.2.0, 0.3.0
    • None
    • qpid-jms-client

    Description

      If the annotation type "x-opt-jms-msg-type" is missing from the message (e.g. the message was created by the old qpid amqp 1.0 client) and this message is supposed to be a MapMessage, then the consumer will create an ObjectMessage instead.

      This is due to AmqpJmsMessageBuilder.createWithoutAnnotation() not handling the MapMessage case, which ends up creating an ObjectMessage instead.

      Attachments

        Activity

          People

            Unassigned Unassigned
            aplischke Alex Plischke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: