You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2007/03/16 21:29:10 UTC
svn commit: r519132 - in /incubator/qpid/trunk/qpid: ./ python/hello-world
Author: aconway
Date: Fri Mar 16 13:29:10 2007
New Revision: 519132
URL: http://svn.apache.org/viewvc?view=rev&rev=519132
Log:
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
........
Modified:
incubator/qpid/trunk/qpid/ (props changed)
incubator/qpid/trunk/qpid/python/hello-world
Propchange: incubator/qpid/trunk/qpid/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Fri Mar 16 13:29:10 2007
@@ -1 +1 @@
-/incubator/qpid/branches/qpid.0-9:1-492620,496593
+/incubator/qpid/branches/qpid.0-9:1-492620,496593,497277
Modified: incubator/qpid/trunk/qpid/python/hello-world
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/python/hello-world?view=diff&rev=519132&r1=519131&r2=519132
==============================================================================
--- incubator/qpid/trunk/qpid/python/hello-world (original)
+++ incubator/qpid/trunk/qpid/python/hello-world Fri Mar 16 13:29:10 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")