summaryrefslogtreecommitdiff
path: root/java/client/src
diff options
context:
space:
mode:
authorMarnie McCormack <marnie@apache.org>2006-11-02 15:17:42 +0000
committerMarnie McCormack <marnie@apache.org>2006-11-02 15:17:42 +0000
commit6896c51431b636bd65b9c4efb98ea7b94a5c450b (patch)
treeee2264a8b5f09ea3f33b18d6725573128908e58c /java/client/src
parent475e8f4e09ea82ebb4ea91873196f1956a3de49f (diff)
downloadqpid-python-6896c51431b636bd65b9c4efb98ea7b94a5c450b.tar.gz
generateQueueName now removes colons as well as semi-colons
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@470380 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/client/src')
-rw-r--r--java/client/src/org/apache/qpid/client/protocol/AMQProtocolSession.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/client/src/org/apache/qpid/client/protocol/AMQProtocolSession.java b/java/client/src/org/apache/qpid/client/protocol/AMQProtocolSession.java
index d99494caa5..9f99d2fb82 100644
--- a/java/client/src/org/apache/qpid/client/protocol/AMQProtocolSession.java
+++ b/java/client/src/org/apache/qpid/client/protocol/AMQProtocolSession.java
@@ -385,8 +385,8 @@ public class AMQProtocolSession implements ProtocolVersionList
{
id = _queueId++;
}
- //get rid of / and ; from address for spec conformance
- String localAddress = StringUtils.replaceChars(_minaProtocolSession.getLocalAddress().toString(),"/;","");
+ //get rid of / and : and ; from address for spec conformance
+ String localAddress = StringUtils.replaceChars(_minaProtocolSession.getLocalAddress().toString(),"/;:","");
return "tmp_" + localAddress + "_" + id;
}