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

JMS Map Message Should Support AMQP 0-10 Encoded Map As Message Body

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.7
    • Java Tests, JMS AMQP 0-x
    • None

    Description

      As part of the new API initiative in Qpid, the C++ client and python client have added support for a map message, where the content is a map of key,value pairs encoded using the AMQP 0-10 encoding for Maps.
      Currently the JMS Map message body is encoded as an opaque binary blob.
      We need to add support for the JMS Map message implementation to set an AMQP 0-10 encoded Map for the message body.
      This allows inteoperability btw JMS Map messages and c++, python map messages.
      The content-type for the proposed map message is "amqp/map".

      This feature is only added to the 0-10 code path as the versions below AMQP 0-10 does not have any native support for encoding maps.
      The new map message format will be the default for any map message created by a 0-10 Session.
      If it needs to send any messages using the old map message format it will need to use the following jvm arg "-Dqpid.use_legacy_map_message=true"
      Once the addressing support is finalized we could also add a per destination flag to indicate if legacy messages needs to be used or not.

      Attachments

        1. QPID-2363.patch
          17 kB
          Rajith Muditha Attapattu

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: