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 2010/05/19 15:33:53 UTC

svn commit: r946180 - /qpid/trunk/qpid/extras/qmf/src/py/qmf/console.py

Author: tross
Date: Wed May 19 13:33:53 2010
New Revision: 946180

URL: http://svn.apache.org/viewvc?rev=946180&view=rev
Log:
Added missing method for ObjectId.

Modified:
    qpid/trunk/qpid/extras/qmf/src/py/qmf/console.py

Modified: qpid/trunk/qpid/extras/qmf/src/py/qmf/console.py
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/extras/qmf/src/py/qmf/console.py?rev=946180&r1=946179&r2=946180&view=diff
==============================================================================
--- qpid/trunk/qpid/extras/qmf/src/py/qmf/console.py (original)
+++ qpid/trunk/qpid/extras/qmf/src/py/qmf/console.py Wed May 19 13:33:53 2010
@@ -1746,6 +1746,11 @@ class ObjectId:
   def getAgentBank(self):
     return self.agentName
 
+  def getV2RoutingKey(self):
+    if self.agentName == '0':
+      return "broker"
+    return self.agentName
+
   def getObject(self):
     return self.objectName
 



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