From 5b686d223970bc51d38440b03b901d97f9b93412 Mon Sep 17 00:00:00 2001 From: "Rafael H. Schloming" Date: Wed, 22 Aug 2007 13:39:04 +0000 Subject: added support for 0-10 style header encoding git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@568607 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/python/hello-world | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'qpid/python/hello-world') diff --git a/qpid/python/hello-world b/qpid/python/hello-world index 4fb065ae53..b3170c8e0c 100755 --- a/qpid/python/hello-world +++ b/qpid/python/hello-world @@ -11,5 +11,6 @@ ch.queue_declare(queue="test") ch.queue_bind(exchange="amq.direct", queue="test", routing_key="test") print ch.queue_query(queue="test") ch.message_subscribe(queue="test", destination="test") -ch.message_transfer(destination="amq.direct", - content=Content("hello world")) +msg = Content("hello world") +msg["content_type"] = "text/plain" +ch.message_transfer(destination="amq.direct", content=msg) -- cgit v1.2.1