diff options
Diffstat (limited to 'qpid/cpp/bindings/qmf2/examples/python')
| -rwxr-xr-x | qpid/cpp/bindings/qmf2/examples/python/agent.py | 4 | ||||
| -rw-r--r-- | qpid/cpp/bindings/qmf2/examples/python/find_agents.py | 4 |
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 a9f1a14349..b24890f531 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 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/qpid/cpp/bindings/qmf2/examples/python/find_agents.py b/qpid/cpp/bindings/qmf2/examples/python/find_agents.py index 852f23f747..5fd71b3f1c 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 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) |
