summaryrefslogtreecommitdiff
path: root/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
commit19ad6741d3579b1ffce70a43271e4e4f804ad643 (patch)
tree1eae6754355e7696902d8db28f790b4019485df5 /python/hello-010-world
parent4c269fa3fdf07c6f3fa12023c5a14012919456a9 (diff)
downloadqpid-python-19ad6741d3579b1ffce70a43271e4e4f804ad643.tar.gz
preliminary support for message headers
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@634289 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/hello-010-world')
-rwxr-xr-xpython/hello-010-world4
1 files changed, 3 insertions, 1 deletions
diff --git a/python/hello-010-world b/python/hello-010-world
index 5ae42c2ac1..ff01cf9ed7 100755
--- a/python/hello-010-world
+++ b/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")