You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by tr...@apache.org on 2013/12/02 20:14:20 UTC

svn commit: r1547154 - /qpid/dispatch/trunk/tools/qdstat.in

Author: tross
Date: Mon Dec  2 19:14:19 2013
New Revision: 1547154

URL: http://svn.apache.org/r1547154
Log:
QPID-5382 - Updated qdstat tool to use dynamic source (available in Proton trunk/0.6).

Modified:
    qpid/dispatch/trunk/tools/qdstat.in

Modified: qpid/dispatch/trunk/tools/qdstat.in
URL: http://svn.apache.org/viewvc/qpid/dispatch/trunk/tools/qdstat.in?rev=1547154&r1=1547153&r2=1547154&view=diff
==============================================================================
--- qpid/dispatch/trunk/tools/qdstat.in (original)
+++ qpid/dispatch/trunk/tools/qdstat.in Mon Dec  2 19:14:19 2013
@@ -102,8 +102,8 @@ class BusManager:
         self.M.start()
         self.M.route("amqp:/*", "amqp://%s/$1" % host)
         self.address = "amqp:/_local/$management"
-        self.reply   = "amqp:/temp.reply-address/0001"    # FIX THIS!
-        self.M.subscribe(self.reply)
+        self.subscription = self.M.subscribe("amqp:/#")
+        self.reply = self.subscription.address
 
     def Disconnect(self):
         self.M.stop()



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org