activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r477581 - /incubator/activemq/activemq-dotnet/trunk/src/main/csharp/ActiveMQ/Commands/ActiveMQDestination.cs
Date Tue, 21 Nov 2006 08:49:25 GMT
Author: jlim
Date: Tue Nov 21 00:49:24 2006
New Revision: 477581

URL: http://svn.apache.org/viewvc?view=rev&rev=477581
Log:
applied patch for http://issues.apache.org/activemq/browse/AMQ-1037

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

Modified: incubator/activemq/activemq-dotnet/trunk/src/main/csharp/ActiveMQ/Commands/ActiveMQDestination.cs
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-dotnet/trunk/src/main/csharp/ActiveMQ/Commands/ActiveMQDestination.cs?view=diff&rev=477581&r1=477580&r2=477581
==============================================================================
--- incubator/activemq/activemq-dotnet/trunk/src/main/csharp/ActiveMQ/Commands/ActiveMQDestination.cs
(original)
+++ incubator/activemq/activemq-dotnet/trunk/src/main/csharp/ActiveMQ/Commands/ActiveMQDestination.cs
Tue Nov 21 00:49:24 2006
@@ -99,7 +99,7 @@
         protected ActiveMQDestination(String name)
         {
 			setPhysicalName(name);
-            this.advisory = name != null && name.StartsWith(ADVISORY_PREFIX);
+            //this.advisory = name != null && name.StartsWith(ADVISORY_PREFIX);
         }
 
 		/// <summary>
@@ -390,7 +390,9 @@
         public String PhysicalName
         {
             get { return this.physicalName; }
-            set { this.physicalName = value; }
+            set { this.physicalName = value; 
+                  this.advisory = value != null && value.StartsWith(ADVISORY_PREFIX);
+                }
         }
         
         /**



Mime
View raw message