diff options
| author | Gordon Sim <gsim@apache.org> | 2007-12-05 15:19:45 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2007-12-05 15:19:45 +0000 |
| commit | 387a53a7dd18dd0bd3dd4a36b2a600cfbd60f249 (patch) | |
| tree | 94ea297ec735e0e3fd6598eaf08ecc3be70e38b7 /qpid/python/examples/fanout | |
| parent | b95f79c2f01db4aff1124522d6655eb745079f29 (diff) | |
| download | qpid-python-387a53a7dd18dd0bd3dd4a36b2a600cfbd60f249.tar.gz | |
Updates to examples from jonathan.robie@redhat.com
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@601358 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python/examples/fanout')
| -rw-r--r-- | qpid/python/examples/fanout/config_fanout_exchange.py | 2 | ||||
| -rw-r--r-- | qpid/python/examples/fanout/fanout_producer.py | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/qpid/python/examples/fanout/config_fanout_exchange.py b/qpid/python/examples/fanout/config_fanout_exchange.py index 6eef1b94e3..3315f5bc14 100644 --- a/qpid/python/examples/fanout/config_fanout_exchange.py +++ b/qpid/python/examples/fanout/config_fanout_exchange.py @@ -50,5 +50,5 @@ session.queue_bind(exchange="amq.fanout", queue="message_queue") #----- Cleanup --------------------------------------------- # Clean up before exiting so there are no open threads. -# channel.session_close() +session.session_close() diff --git a/qpid/python/examples/fanout/fanout_producer.py b/qpid/python/examples/fanout/fanout_producer.py index 42570ed510..92ca7b7ec0 100644 --- a/qpid/python/examples/fanout/fanout_producer.py +++ b/qpid/python/examples/fanout/fanout_producer.py @@ -46,4 +46,3 @@ session.message_transfer(destination="amq.fanout", content=message) # Clean up before exiting so there are no open threads. session.session_close() - |
