qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmora...@apache.org
Subject svn commit: r1580827 - /qpid/trunk/qpid/tools/src/py/qpid-route
Date Mon, 24 Mar 2014 12:57:21 GMT
Author: pmoravec
Date: Mon Mar 24 12:57:20 2014
New Revision: 1580827

URL: http://svn.apache.org/r1580827
Log:
QPID-5643:  qpid-route route map does not pass credentials to other brokers in the route map

Modified:
    qpid/trunk/qpid/tools/src/py/qpid-route

Modified: qpid/trunk/qpid/tools/src/py/qpid-route
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/tools/src/py/qpid-route?rev=1580827&r1=1580826&r2=1580827&view=diff
==============================================================================
--- qpid/trunk/qpid/tools/src/py/qpid-route (original)
+++ qpid/trunk/qpid/tools/src/py/qpid-route Mon Mar 24 12:57:20 2014
@@ -239,7 +239,9 @@ class RouteManager:
                 if url.name() not in self.brokerList:
                     print "    %s..." % url.name(),
                     try:
-                        b = self.qmf.addBroker(url, config._connTimeout)
+                        url.authName = self.local.authName
+                        url.authPass = self.local.authPass
+                        b = self.qmf.addBroker(url, config._connTimeout, **config._conn_options)
                         self.brokerList[url.name()] = b
                         added = True
                         print "Ok"



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


Mime
View raw message