summaryrefslogtreecommitdiff
path: root/qpid/python/hello-010-world
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2008-03-06 15:05:04 +0000
committerRafael H. Schloming <rhs@apache.org>2008-03-06 15:05:04 +0000
commit00a8a8b331934b6bebb18d9f2cccad363c939e63 (patch)
treecff36798ca177598860969079c43680faf9d3824 /qpid/python/hello-010-world
parent97cf15c41540b002dd88177c9cf5018ba419fab8 (diff)
downloadqpid-python-00a8a8b331934b6bebb18d9f2cccad363c939e63.tar.gz
preliminary support for message headers
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@634289 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python/hello-010-world')
-rwxr-xr-xqpid/python/hello-010-world4
1 files changed, 3 insertions, 1 deletions
diff --git a/qpid/python/hello-010-world b/qpid/python/hello-010-world
index 5ae42c2ac1..ff01cf9ed7 100755
--- a/qpid/python/hello-010-world
+++ b/qpid/python/hello-010-world
@@ -22,8 +22,10 @@ ssn = conn.session("my-session", timeout=10)
ssn.queue_declare("asdf")
+
ssn.message_transfer("this", None, None, Message("testing..."))
-ssn.message_transfer("is", None, None, Message("more testing..."))
+props = ssn.delivery_properties(routing_key="asdf")
+ssn.message_transfer("is", None, None, Message(props, "more testing..."))
ssn.message_transfer("a")
ssn.message_transfer("test")