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