diff options
| author | Rafael H. Schloming <rhs@apache.org> | 2007-01-18 17:56:44 +0000 |
|---|---|---|
| committer | Rafael H. Schloming <rhs@apache.org> | 2007-01-18 17:56:44 +0000 |
| commit | 5b6ca65abd333e0ea15790ec351bfb67a7013a5e (patch) | |
| tree | 86332583cc0be84981bde900cdac825865599392 /python/hello-world | |
| parent | 7a26e1d6aa0018e44120bef39903c4ce55676141 (diff) | |
| download | qpid-python-5b6ca65abd333e0ea15790ec351bfb67a7013a5e.tar.gz | |
made message-transfer return a result, switched over message delivery to use message-transfer, added a generated .copy() to method bodies, and made hello-world acknowledge the message it sends to itself
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@497515 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/hello-world')
| -rwxr-xr-x | python/hello-world | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/python/hello-world b/python/hello-world index fd712d324b..823e395b2e 100755 --- a/python/hello-world +++ b/python/hello-world @@ -12,3 +12,8 @@ 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") +msg = client.queue("test").get() +print msg +msg.ok() +import time +time.sleep(3) |
