summaryrefslogtreecommitdiff
path: root/qpid/java
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
commita8ad56f53b6d476d1de0c084031bc61da27a519c (patch)
tree7595ec43576363873d13f7ae9893b0fa2464a22a /qpid/java
parent2dabd43a1a2cfce785921eba6065e379a08a7ba1 (diff)
downloadqpid-python-a8ad56f53b6d476d1de0c084031bc61da27a519c.tar.gz
generateQueueName now removes colons as well as semi-colons
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@470380 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java')
-rw-r--r--qpid/java/client/src/org/apache/qpid/client/protocol/AMQProtocolSession.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/java/client/src/org/apache/qpid/client/protocol/AMQProtocolSession.java b/qpid/java/client/src/org/apache/qpid/client/protocol/AMQProtocolSession.java
index d99494caa5..9f99d2fb82 100644
--- a/qpid/java/client/src/org/apache/qpid/client/protocol/AMQProtocolSession.java
+++ b/qpid/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;
}