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

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

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

 ##########
 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:
   It won't change, I guess. Or at least it shouldn't. It's an enum, that 
basically represents all available message priorities. I could use int instead 
but that would require casting. 
 
----------------------------------------------------------------
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: 381458)
    Time Spent: 0.5h  (was: 20m)

> 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: 0.5h
>  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