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

ASF GitHub Bot logged work on AMQNET-634:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 04/Feb/20 09:09
            Start Date: 04/Feb/20 09:09
    Worklog Time Spent: 10m 
      Work Description: michaelpearce-gain commented on pull request #53: 
AMQNET-634: Use 4 as default msg priority
URL: https://github.com/apache/activemq-nms-amqp/pull/53#discussion_r374548608
 
 

 ##########
 File path: test/Apache-NMS-AMQP-Test/NmsMessageProducerTest.cs
 ##########
 @@ -77,7 +77,7 @@ public void TestGetDisableTimeStamp()
         public void TestPriorityConfiguration()
         {
             IMessageProducer producer = session.CreateProducer(null);
-            Assert.AreEqual(NMSConstants.defaultPriority, producer.Priority);
+            Assert.AreEqual(MsgPriority.BelowNormal, producer.Priority);
 
 Review comment:
   fair enuf.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

    Worklog Id:     (was: 381463)
    Time Spent: 1h  (was: 50m)

> Msg Priority is 5 by default instead of 4
> -----------------------------------------
>
>                 Key: AMQNET-634
>                 URL: https://issues.apache.org/jira/browse/AMQNET-634
>             Project: ActiveMQ .Net
>          Issue Type: Bug
>          Components: AMQP
>    Affects Versions: 1.8.0
>            Reporter: Krzysztof Porebski
>            Priority: Major
>             Fix For: AMQP-1.8.1
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> There's a bug in the default priority that’s being used when not set, Int 5 
> is being set, when in fact the default should be int 4 as per JMS spec.
> [https://docs.oracle.com/javaee/6/api/javax/jms/Message.html#DEFAULT_PRIORITY]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to