[ 
https://issues.apache.org/jira/browse/ARTEMIS-196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16732954#comment-16732954
 ] 

ASF GitHub Bot commented on ARTEMIS-196:
----------------------------------------

Github user franz1981 commented on a diff in the pull request:

    https://github.com/apache/activemq-artemis/pull/2488#discussion_r244976790
  
    --- Diff: 
artemis-server/src/main/java/org/apache/activemq/artemis/core/server/Consumer.java
 ---
    @@ -21,7 +21,7 @@
     import org.apache.activemq.artemis.core.filter.Filter;
     import org.apache.activemq.artemis.spi.core.protocol.SessionCallback;
     
    -public interface Consumer {
    +public interface Consumer extends PriorityAware {
    --- End diff --
    
    Just a design q: why using a specific `PriorityAware` interface?
    I'm assuming that we can't have anymore a `Consumer` that doesn't provide a 
`default int getPriority()` 


> Implementing Consumer Priority
> ------------------------------
>
>                 Key: ARTEMIS-196
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-196
>             Project: ActiveMQ Artemis
>          Issue Type: Sub-task
>          Components: OpenWire
>    Affects Versions: 1.0.0
>            Reporter: Howard Gao
>            Priority: Major
>             Fix For: unscheduled
>
>
> ref: http://activemq.apache.org/consumer-priority.html
> org.apache.activemq.QueueConsumerPriorityTest



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to