diff options
| author | Alan Conway <aconway@apache.org> | 2007-03-16 20:29:10 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2007-03-16 20:29:10 +0000 |
| commit | c7b2f8e9fab60f6bb8975d0de0a28c2316a66d6a (patch) | |
| tree | 253b4d56843ab93718053f3a325af2b61eeca2d5 /qpid/python/hello-world | |
| parent | 414f4b0a2ef5e3c13bfe29dcce89b248fc409680 (diff) | |
| download | qpid-python-c7b2f8e9fab60f6bb8975d0de0a28c2316a66d6a.tar.gz | |
Merged revisions 497277 via svnmerge from
https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9
........
r497277 | rhs | 2007-01-17 20:27:33 -0500 (Wed, 17 Jan 2007) | 1 line
updated hello-world smoke test
........
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@519132 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python/hello-world')
| -rwxr-xr-x | qpid/python/hello-world | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/qpid/python/hello-world b/qpid/python/hello-world index b05873dff3..fd712d324b 100755 --- a/qpid/python/hello-world +++ b/qpid/python/hello-world @@ -7,5 +7,8 @@ client = Client("127.0.0.1", 5672, qpid.spec.load("../specs/amqp.0-9.xml")) client.start({"LOGIN": "guest", "PASSWORD": "guest"}) ch = client.channel(1) ch.channel_open() -ch.message_transfer(destination="amq.direct", routing_key="asdf", +ch.queue_declare(queue="test") +ch.queue_bind(exchange="amq.direct", queue="test", routing_key="test") +ch.message_consume(queue="test", destination="test") +ch.message_transfer(destination="amq.direct", routing_key="test", body="hello world") |
