You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by jg...@apache.org on 2008/08/12 01:11:35 UTC

svn commit: r684977 - /activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ActiveMQDestination.cs

Author: jgomes
Date: Mon Aug 11 16:11:35 2008
New Revision: 684977

URL: http://svn.apache.org/viewvc?rev=684977&view=rev
Log:

Fixes [AMQNET-102]. (See https://issues.apache.org/activemq/browse/AMQNET-102)

Modified:
    activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ActiveMQDestination.cs

Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ActiveMQDestination.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ActiveMQDestination.cs?rev=684977&r1=684976&r2=684977&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ActiveMQDestination.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ActiveMQDestination.cs Mon Aug 11 16:11:35 2008
@@ -107,7 +107,7 @@
 		{
 			get
 			{
-				return IsTopic;
+				return GetDestinationType() == ACTIVEMQ_TOPIC;
 			}
 		}
 		
@@ -115,7 +115,7 @@
 		{
 			get
 			{
-				return IsQueue;
+				return GetDestinationType() == ACTIVEMQ_QUEUE;
 			}
 		}