From 0bea8c7b120b6b908f24e343a557b0491e3d85b3 Mon Sep 17 00:00:00 2001 From: "Darryl L. Pierce" Date: Tue, 15 Oct 2013 13:10:41 +0000 Subject: 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 --- qpid/cpp/bindings/qmf2/examples/python/agent.py | 4 ++-- qpid/cpp/bindings/qmf2/examples/python/find_agents.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'qpid/cpp/bindings/qmf2/examples/python') 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) -- cgit v1.2.1