summaryrefslogtreecommitdiff
path: root/qpid/cpp/bindings/qmf2/examples/python
diff options
context:
space:
mode:
authorDarryl L. Pierce <mcpierce@apache.org>2013-10-15 13:10:41 +0000
committerDarryl L. Pierce <mcpierce@apache.org>2013-10-15 13:10:41 +0000
commit0bea8c7b120b6b908f24e343a557b0491e3d85b3 (patch)
tree62e00d7961b961893c70111f7d1547bc33f7e7d9 /qpid/cpp/bindings/qmf2/examples/python
parent02b136e430d0b8ccfb183d60465c640d99bc8fa9 (diff)
downloadqpid-python-0bea8c7b120b6b908f24e343a557b0491e3d85b3.tar.gz
QPID-5231: Fix QMF code to use qpid_messaging rather than cqpid.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1532324 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/bindings/qmf2/examples/python')
-rwxr-xr-xqpid/cpp/bindings/qmf2/examples/python/agent.py4
-rw-r--r--qpid/cpp/bindings/qmf2/examples/python/find_agents.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/qpid/cpp/bindings/qmf2/examples/python/agent.py b/qpid/cpp/bindings/qmf2/examples/python/agent.py
index b24890f531..a9f1a14349 100755
--- a/qpid/cpp/bindings/qmf2/examples/python/agent.py
+++ b/qpid/cpp/bindings/qmf2/examples/python/agent.py
@@ -19,7 +19,7 @@
# under the License.
#
-import cqpid
+import qpid_messaging
from qmf2 import *
@@ -34,7 +34,7 @@ class ExampleAgent(AgentHandler):
##
## Create and open a messaging connection to a broker.
##
- self.connection = cqpid.Connection(url, "{reconnect:True}")
+ self.connection = qpid_messaging.Connection(url, "{reconnect:True}")
self.session = None
self.connection.open()
diff --git a/qpid/cpp/bindings/qmf2/examples/python/find_agents.py b/qpid/cpp/bindings/qmf2/examples/python/find_agents.py
index 5fd71b3f1c..852f23f747 100644
--- a/qpid/cpp/bindings/qmf2/examples/python/find_agents.py
+++ b/qpid/cpp/bindings/qmf2/examples/python/find_agents.py
@@ -17,7 +17,7 @@
# under the License.
#
-import cqpid
+import qpid_messaging
import qmf2
class FindAgents(qmf2.ConsoleHandler):
@@ -45,7 +45,7 @@ class FindAgents(qmf2.ConsoleHandler):
url = "localhost"
options = ""
-connection = cqpid.Connection(url, options)
+connection = qpid_messaging.Connection(url, options)
connection.open()
session = qmf2.ConsoleSession(connection)