diff options
| author | Ted Ross <tross@apache.org> | 2011-01-10 14:08:50 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2011-01-10 14:08:50 +0000 |
| commit | b7f5f402c2f1f92f84bf8cdfc5b15a87714fbcbf (patch) | |
| tree | ae8f38abdd7d299d252569b91510c44b445dafb4 /qpid/cpp/bindings/qmf2/examples/python | |
| parent | b1cd22ae277d9a987d37e2538aded2f3521bc362 (diff) | |
| download | qpid-python-b7f5f402c2f1f92f84bf8cdfc5b15a87714fbcbf.tar.gz | |
Updated Python and Ruby wrappers to reflect API changes.
Updates to the agent examples.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1057200 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/bindings/qmf2/examples/python')
| -rwxr-xr-x | qpid/cpp/bindings/qmf2/examples/python/agent.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/qpid/cpp/bindings/qmf2/examples/python/agent.py b/qpid/cpp/bindings/qmf2/examples/python/agent.py index d354106042..84d2fe4615 100755 --- a/qpid/cpp/bindings/qmf2/examples/python/agent.py +++ b/qpid/cpp/bindings/qmf2/examples/python/agent.py @@ -34,7 +34,7 @@ class ExampleAgent(AgentHandler): ## ## Create and open a messaging connection to a broker. ## - self.connection = cqpid.Connection(url) + self.connection = cqpid.Connection(url, "{reconnect:True}") self.session = None self.connection.open() @@ -42,7 +42,6 @@ class ExampleAgent(AgentHandler): ## Create, configure, and open a QMFv2 agent session using the connection. ## self.session = AgentSession(self.connection, "{interval:30}") - self.session.setDomain("test") self.session.setVendor('profitron.com') self.session.setProduct('blastinator') self.session.setAttribute('attr1', 1000) |
