You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by rh...@apache.org on 2007/01/18 02:27:34 UTC

svn commit: r497277 - /incubator/qpid/branches/qpid.0-9/python/hello-world

Author: rhs
Date: Wed Jan 17 17:27:33 2007
New Revision: 497277

URL: http://svn.apache.org/viewvc?view=rev&rev=497277
Log:
updated hello-world smoke test

Modified:
    incubator/qpid/branches/qpid.0-9/python/hello-world

Modified: incubator/qpid/branches/qpid.0-9/python/hello-world
URL: http://svn.apache.org/viewvc/incubator/qpid/branches/qpid.0-9/python/hello-world?view=diff&rev=497277&r1=497276&r2=497277
==============================================================================
--- incubator/qpid/branches/qpid.0-9/python/hello-world (original)
+++ incubator/qpid/branches/qpid.0-9/python/hello-world Wed Jan 17 17:27:33 2007
@@ -7,5 +7,8 @@
 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")