diff options
author | Rajith Muditha Attapattu <rajith@apache.org> | 2011-05-16 20:50:17 +0000 |
---|---|---|
committer | Rajith Muditha Attapattu <rajith@apache.org> | 2011-05-16 20:50:17 +0000 |
commit | 8edd78bbb2100a3bc83b39fbdab159613420b5d5 (patch) | |
tree | d0230b948c5731db3dde0cddebe25a405741a32e | |
parent | fd6e3bf54c79e8e050472838a9a68eb61b08ae13 (diff) | |
download | qpid-python-8edd78bbb2100a3bc83b39fbdab159613420b5d5.tar.gz |
QPID-3254
The default for routing key should be based on the context.
i.e for sending it should be "" and for receiving it should be "#".
However we currently don't have a way of handling this properly. Therefore defaulting it to "".
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1103884 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | qpid/java/client/src/main/java/org/apache/qpid/client/AMQTopic.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/java/client/src/main/java/org/apache/qpid/client/AMQTopic.java b/qpid/java/client/src/main/java/org/apache/qpid/client/AMQTopic.java index 79624a774f..780dbcafc2 100644 --- a/qpid/java/client/src/main/java/org/apache/qpid/client/AMQTopic.java +++ b/qpid/java/client/src/main/java/org/apache/qpid/client/AMQTopic.java @@ -186,8 +186,8 @@ public class AMQTopic extends AMQDestination implements Topic } else { - setRoutingKey(new AMQShortString("#")); - setSubject("#"); + setRoutingKey(new AMQShortString("")); + setSubject(""); return super.getRoutingKey(); } } |