Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-894

ErrorCondition 'info' map should be typed to enforce required use of Symbol keys

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • proton-0.1, proton-0.2, proton-0.3, proton-0.4, proton-0.5, proton-0.6, proton-0.7, proton-0.8, proton-0.9, proton-0.9.1
    • proton-j-future
    • proton-j

    Description

      The 'info' field of amqp-error [1] condition is of type 'fields' [2], a Symbol keyed map. The 'info' map in the ErrorCondition object should thus be typed for Symbol keys, whereas currently it is not typed at all implying use of any type is permissable, e.g. the common use of String keys.

      [1] http://docs.oasis-open.org/amqp/core/v1.0/os/amqp-core-transport-v1.0-os.html#type-error
      [2] http://docs.oasis-open.org/amqp/core/v1.0/os/amqp-core-transport-v1.0-os.html#type-fields

      Attachments

        Activity

          People

            Unassigned Unassigned
            robbie Robbie Gemmell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: