[ https://issues.apache.org/jira/browse/AMQNET-634?focusedWorklogId=381462&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-381462 ]
ASF GitHub Bot logged work on AMQNET-634: ----------------------------------------- Author: ASF GitHub Bot Created on: 04/Feb/20 09:06 Start Date: 04/Feb/20 09:06 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_r374547545 ########## 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: This is covered with transport level assertion: ``` byte priority = 4; testPeer.ExpectTransfer(m => Assert.AreEqual(priority, m.Header.Priority)); ``` ---------------------------------------------------------------- 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: 381462) Time Spent: 50m (was: 40m) > 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: 50m > 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)