qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From raj...@apache.org
Subject svn commit: r1103884 - /qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/AMQTopic.java
Date Mon, 16 May 2011 20:50:17 GMT
Author: rajith
Date: Mon May 16 20:50:17 2011
New Revision: 1103884

URL: http://svn.apache.org/viewvc?rev=1103884&view=rev
Log:
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
"".

Modified:
    qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/AMQTopic.java

Modified: qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/AMQTopic.java
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/AMQTopic.java?rev=1103884&r1=1103883&r2=1103884&view=diff
==============================================================================
--- qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/AMQTopic.java (original)
+++ qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/AMQTopic.java Mon May
16 20:50:17 2011
@@ -186,8 +186,8 @@ public class AMQTopic extends AMQDestina
         }
         else
         {
-            setRoutingKey(new AMQShortString("#"));
-            setSubject("#");
+            setRoutingKey(new AMQShortString(""));
+            setSubject("");
             return super.getRoutingKey();
         }
     }



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message