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

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 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
    • Fix Version/s: proton-j-future
    • Component/s: proton-j
    • Labels:

      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

            • Assignee:
              Unassigned
              Reporter:
              gemmellr Robbie Gemmell
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: