Used toString() on destinations to avoid issues with StompConnect

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@509705 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
James Strachan 2007-02-20 18:58:34 +00:00
parent f5b1b831b6
commit bca88fee18
1 changed files with 3 additions and 1 deletions

View File

@ -298,7 +298,9 @@ abstract public class ActiveMQDestination extends JNDIBaseStorable implements Da
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 {