activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r509705 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/command/ActiveMQDestination.java
Date Tue, 20 Feb 2007 18:58:35 GMT
Author: jstrachan
Date: Tue Feb 20 10:58:34 2007
New Revision: 509705

URL: http://svn.apache.org/viewvc?view=rev&rev=509705
Log:
Used toString() on destinations to avoid issues with StompConnect

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/command/ActiveMQDestination.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/command/ActiveMQDestination.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/command/ActiveMQDestination.java?view=diff&rev=509705&r1=509704&r2=509705
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/command/ActiveMQDestination.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/command/ActiveMQDestination.java
Tue Feb 20 10:58:34 2007
@@ -298,7 +298,9 @@
         return hashValue;
     }
     public String toString() {
-        return getQualifiedName();
+        // TODO we should use the physical name by default for easier operation
+        // with other software like StompConnect
+        return physicalName;
     }
     
     public void writeExternal(ObjectOutput out) throws IOException {



Mime
View raw message