activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1705945 - /activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/QueueConsumerPriorityTest.cs
Date Tue, 29 Sep 2015 22:27:46 GMT
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();
 



Mime
View raw message