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

    https://github.com/apache/activemq-artemis/pull/2490#discussion_r245965929
  
    --- Diff: 
artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/broker/AMQPSessionCallback.java
 ---
    @@ -233,6 +239,11 @@ public Object createSender(ProtonServerSenderContext 
protonSender,
           return consumer;
        }
     
    +   private int getPriority(Map<Symbol, Object> properties) {
    +      Integer value = properties == null ? null : (Integer) 
properties.get(PRIORITY);
    --- End diff --
    
    Comments on the original #2488 PR suggest you want to align with Qpid 
Broker-J in this area. Its support (and the accompanying documentation lift) 
notes as an integral value, so the value here is not necessarily going to be 
the Integer type.


---

Reply via email to