diff options
| author | Marnie McCormack <marnie@apache.org> | 2006-11-02 15:17:42 +0000 |
|---|---|---|
| committer | Marnie McCormack <marnie@apache.org> | 2006-11-02 15:17:42 +0000 |
| commit | a8ad56f53b6d476d1de0c084031bc61da27a519c (patch) | |
| tree | 7595ec43576363873d13f7ae9893b0fa2464a22a /qpid/java | |
| parent | 2dabd43a1a2cfce785921eba6065e379a08a7ba1 (diff) | |
| download | qpid-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.java | 4 |
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; } |
