diff options
| author | Darryl L. Pierce <mcpierce@apache.org> | 2013-10-14 20:06:14 +0000 |
|---|---|---|
| committer | Darryl L. Pierce <mcpierce@apache.org> | 2013-10-14 20:06:14 +0000 |
| commit | 6ffdb5066933c5da7cd7d93a8cfb5f82fcbbe930 (patch) | |
| tree | 375fe9489d6c2e307fd81c08269935117771944d /cpp/bindings/qmf2/examples/python | |
| parent | 459bddb4a67ceb56e499873c7eca79d23b4a7489 (diff) | |
| download | qpid-python-6ffdb5066933c5da7cd7d93a8cfb5f82fcbbe930.tar.gz | |
QPID-5213: Fix QMF code to use qpid_messaging rather than cqpid.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1532049 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/bindings/qmf2/examples/python')
| -rwxr-xr-x | cpp/bindings/qmf2/examples/python/agent.py | 4 | ||||
| -rw-r--r-- | cpp/bindings/qmf2/examples/python/find_agents.py | 4 |
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 b24890f531..a9f1a14349 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 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/cpp/bindings/qmf2/examples/python/find_agents.py b/cpp/bindings/qmf2/examples/python/find_agents.py index 5fd71b3f1c..852f23f747 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 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) |
