summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpython/examples/direct/declare_queues.py2
-rwxr-xr-xpython/examples/direct/direct_consumer.py2
-rwxr-xr-xpython/examples/direct/direct_producer.py2
-rwxr-xr-xpython/examples/direct/listener.py2
-rwxr-xr-xpython/examples/fanout/fanout_consumer.py2
-rwxr-xr-xpython/examples/fanout/fanout_producer.py2
-rwxr-xr-xpython/examples/fanout/listener.py2
-rwxr-xr-xpython/examples/pubsub/topic_subscriber.py2
-rwxr-xr-xpython/examples/request-response/client.py2
-rwxr-xr-xpython/examples/request-response/server.py2
-rwxr-xr-xpython/examples/xml-exchange/declare_queues.py2
-rwxr-xr-xpython/examples/xml-exchange/listener.py2
-rwxr-xr-xpython/examples/xml-exchange/xml_consumer.py2
-rwxr-xr-xpython/examples/xml-exchange/xml_producer.py2
14 files changed, 14 insertions, 14 deletions
diff --git a/python/examples/direct/declare_queues.py b/python/examples/direct/declare_queues.py
index 3cc4a10c0b..13818ee9d7 100755
--- a/python/examples/direct/declare_queues.py
+++ b/python/examples/direct/declare_queues.py
@@ -54,7 +54,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/direct/direct_consumer.py b/python/examples/direct/direct_consumer.py
index 6e30541d6c..b07e53c5c7 100755
--- a/python/examples/direct/direct_consumer.py
+++ b/python/examples/direct/direct_consumer.py
@@ -52,7 +52,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/direct/direct_producer.py b/python/examples/direct/direct_producer.py
index 984d112243..fcbb4675e4 100755
--- a/python/examples/direct/direct_producer.py
+++ b/python/examples/direct/direct_producer.py
@@ -52,7 +52,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/direct/listener.py b/python/examples/direct/listener.py
index d1c4b1d645..9d06bd3929 100755
--- a/python/examples/direct/listener.py
+++ b/python/examples/direct/listener.py
@@ -73,7 +73,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_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()))
diff --git a/python/examples/pubsub/topic_subscriber.py b/python/examples/pubsub/topic_subscriber.py
index 7a886974ee..489c7cbb19 100755
--- a/python/examples/pubsub/topic_subscriber.py
+++ b/python/examples/pubsub/topic_subscriber.py
@@ -81,7 +81,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/request-response/client.py b/python/examples/request-response/client.py
index 563e4f2992..b29fcf3ea7 100755
--- a/python/examples/request-response/client.py
+++ b/python/examples/request-response/client.py
@@ -73,7 +73,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/request-response/server.py b/python/examples/request-response/server.py
index 7300ced03a..a80c4541e4 100755
--- a/python/examples/request-response/server.py
+++ b/python/examples/request-response/server.py
@@ -64,7 +64,7 @@ if len(sys.argv) > 2 :
port=int(sys.argv[2])
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/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()))
diff --git a/python/examples/xml-exchange/listener.py b/python/examples/xml-exchange/listener.py
index c6fa4ec57d..a56f5d6018 100755
--- a/python/examples/xml-exchange/listener.py
+++ b/python/examples/xml-exchange/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()))
diff --git a/python/examples/xml-exchange/xml_consumer.py b/python/examples/xml-exchange/xml_consumer.py
index e414d98991..cd89110b05 100755
--- a/python/examples/xml-exchange/xml_consumer.py
+++ b/python/examples/xml-exchange/xml_consumer.py
@@ -52,7 +52,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/xml-exchange/xml_producer.py b/python/examples/xml-exchange/xml_producer.py
index 2641b185c6..fa97cab4e1 100755
--- a/python/examples/xml-exchange/xml_producer.py
+++ b/python/examples/xml-exchange/xml_producer.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()))