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 | 99ad6230cf05ed7b72c7d56dd545b81687524f8d (patch) | |
| tree | d0cdcd457f60c50c436214bedaf92b08bdebc0e6 /java | |
| parent | e5aba7aa23f1a761fe31b5af2c95bf625b6cec1c (diff) | |
| download | qpid-python-99ad6230cf05ed7b72c7d56dd545b81687524f8d.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/qpid@1103884 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java')
| -rw-r--r-- | java/client/src/main/java/org/apache/qpid/client/AMQTopic.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/client/src/main/java/org/apache/qpid/client/AMQTopic.java b/java/client/src/main/java/org/apache/qpid/client/AMQTopic.java index 79624a774f..780dbcafc2 100644 --- a/java/client/src/main/java/org/apache/qpid/client/AMQTopic.java +++ b/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(); } } |
