You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2015/09/30 00:27:46 UTC

svn commit: r1705945 - /activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/QueueConsumerPriorityTest.cs

Author: tabish
Date: Tue Sep 29 22:27:46 2015
New Revision: 1705945

URL: http://svn.apache.org/viewvc?rev=1705945&view=rev
Log:
NO-JIRA Fix failing test but ensuring that priority processing is enabled.

Modified:
    activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/QueueConsumerPriorityTest.cs

Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/QueueConsumerPriorityTest.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/QueueConsumerPriorityTest.cs?rev=1705945&r1=1705944&r2=1705945&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/QueueConsumerPriorityTest.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/QueueConsumerPriorityTest.cs Tue Sep 29 22:27:46 2015
@@ -101,6 +101,10 @@ namespace Apache.NMS.ActiveMQ.Test
         {
             IConnection conn = createConnection(true);
 
+            Connection connection = conn as Connection;
+            Assert.IsNotNull(connection);
+            connection.MessagePrioritySupported = true;
+
             ISession receiverSession = conn.CreateSession();
             ISession senderSession = conn.CreateSession();