[ 
https://issues.apache.org/jira/browse/ARTEMIS-4792?focusedWorklogId=921836&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-921836
 ]

ASF GitHub Bot logged work on ARTEMIS-4792:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 03/Jun/24 19:32
            Start Date: 03/Jun/24 19:32
    Worklog Time Spent: 10m 
      Work Description: tabish121 opened a new pull request, #4956:
URL: https://github.com/apache/activemq-artemis/pull/4956

   …ress
   
   Allow the Source address to provide consumer priority on the address using 
the same option value as a core consumer '?consumer-priority=X'. The change 
parses any query string appended to an address and uses the address portion as 
the actual receiver address and currently only looks at consumer priority 
values in the extracted address query parameters and ignores any other options 
found. The existing consumer priority taken from link properties takes 
precedence over the value placed on the address query options if both are 
present.




Issue Time Tracking
-------------------

            Worklog Id:     (was: 921836)
    Remaining Estimate: 0h
            Time Spent: 10m

> Add support for setting consumer priority on AMQP Receiver Source addresses
> ---------------------------------------------------------------------------
>
>                 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
>            Priority: Minor
>             Fix For: 2.35.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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