Timothy A. Bish created ARTEMIS-4792:
----------------------------------------

             Summary: Add support for setting consumer priority on AMQP Source 
address
                 Key: ARTEMIS-4792
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4792
             Project: ActiveMQ Artemis
          Issue Type: New Feature
          Components: AMQP
    Affects Versions: 2.34.0
            Reporter: Timothy A. Bish
            Assignee: Timothy A. Bish
             Fix For: 2.35.0


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:
{code:java}
address?consumer-priority=1{code}
 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to