Author: tabish
Date: Tue Sep 29 22:31:21 2015
New Revision: 1705947
URL: http://svn.apache.org/viewvc?rev=1705947&view=rev
Log:
NO-JIRA Fix failing test but ensuring that priority processing is enabled.
Modified:
activemq/activemq-dotnet/Apache.NMS.ActiveMQ/branches/1.7.x/ (props
changed)
activemq/activemq-dotnet/Apache.NMS.ActiveMQ/branches/1.7.x/src/test/csharp/QueueConsumerPriorityTest.cs
Propchange: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/branches/1.7.x/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Tue Sep 29 22:31:21 2015
@@ -1,4 +1,4 @@
/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/branches/1.5.x:1082291,1135831,1137081,1171843,1171874,1177390,1177395,1186568,1187123,1238881,1293360,1294890,1295257,1311395,1312026,1374469,1375295,1376782
/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/tags/1.0.0:692591,693525
/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/tags/1.1.0:788230,788233,790183
-/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk:1689517,1695609-1695737
+/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk:1689517,1695609-1695737,1705945
Modified:
activemq/activemq-dotnet/Apache.NMS.ActiveMQ/branches/1.7.x/src/test/csharp/QueueConsumerPriorityTest.cs
URL:
http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/branches/1.7.x/src/test/csharp/QueueConsumerPriorityTest.cs?rev=1705947&r1=1705946&r2=1705947&view=diff
==============================================================================
---
activemq/activemq-dotnet/Apache.NMS.ActiveMQ/branches/1.7.x/src/test/csharp/QueueConsumerPriorityTest.cs
(original)
+++
activemq/activemq-dotnet/Apache.NMS.ActiveMQ/branches/1.7.x/src/test/csharp/QueueConsumerPriorityTest.cs
Tue Sep 29 22:31:21 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();