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

Add some enums to Section and DeliveryState to make type determination simpler

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: proton-j-0.29.0
    • Fix Version/s: proton-j-0.30.0
    • Component/s: proton-j
    • Labels:
      None

      Description

      Add enums for the known Section and DeliveryState types to allow for easier identification of the types when writing code to process the events for incoming messages and delivery state updates.  Right now we are forced to use many instanceof calls to decide what the types are in order to react. 

        Attachments

          Activity

            People

            • Assignee:
              tabish Timothy Bish
              Reporter:
              tabish Timothy Bish
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: