Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-4792

Add support for setting consumer priority on AMQP Receiver Source addresses

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.34.0
    • 2.35.0
    • AMQP
    • None

    Description

      When creating a receiver link from a client the only way currently to adjust the consumer priority on the broker is to set a value in the receiver properties to indicate the desired priority.  For some client AMQP client libraries this is not simple or not possible in the provided API.  To solve this we can add support for parsing URI type options from the source address of the receiver attach and look for the option "consumer-priority" which is also used by the Core client to configure consumer priority (Openwire clients can do the same via an openwire client property "consumer.priority").

      This updates the client receiver attach to extract properties from the address the source which have the form:

      address?consumer-priority=1

       

      Attachments

        Issue Links

          Activity

            People

              tabish Timothy A. Bish
              tabish Timothy A. Bish
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m