summaryrefslogtreecommitdiff
path: root/python/examples/xml-exchange/declare_queues.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/examples/xml-exchange/declare_queues.py')
-rwxr-xr-xpython/examples/xml-exchange/declare_queues.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/examples/xml-exchange/declare_queues.py b/python/examples/xml-exchange/declare_queues.py
index d8c2d0c34f..ca40af5dc5 100755
--- a/python/examples/xml-exchange/declare_queues.py
+++ b/python/examples/xml-exchange/declare_queues.py
@@ -53,7 +53,7 @@ if len(sys.argv) > 2 :
# Create a connection.
socket = connect(host, port)
-connection = Connection (sock=socket)
+connection = Connection (sock=socket, username=user, password=password)
connection.start()
session = connection.session(str(uuid4()))