diff options
Diffstat (limited to 'python/examples/fanout')
| -rwxr-xr-x | python/examples/fanout/fanout_consumer.py | 2 | ||||
| -rwxr-xr-x | python/examples/fanout/fanout_producer.py | 2 | ||||
| -rwxr-xr-x | python/examples/fanout/listener.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/python/examples/fanout/fanout_consumer.py b/python/examples/fanout/fanout_consumer.py index d2a6f5242f..0452baa8da 100755 --- a/python/examples/fanout/fanout_consumer.py +++ b/python/examples/fanout/fanout_consumer.py @@ -50,7 +50,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())) diff --git a/python/examples/fanout/fanout_producer.py b/python/examples/fanout/fanout_producer.py index 4d24a460d1..c4df252c70 100755 --- a/python/examples/fanout/fanout_producer.py +++ b/python/examples/fanout/fanout_producer.py @@ -49,7 +49,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())) diff --git a/python/examples/fanout/listener.py b/python/examples/fanout/listener.py index 9863357a41..29db402e9d 100755 --- a/python/examples/fanout/listener.py +++ b/python/examples/fanout/listener.py @@ -70,7 +70,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())) |
