From 15ce3024ee21f00dc045ea29cc6e4649af96f89d Mon Sep 17 00:00:00 2001 From: Anthony Tuininga Date: Tue, 2 Jul 2019 14:09:48 -0600 Subject: [PATCH] Be clearer about what sort of payloads are supported and in particular what happens to strings if they are used in RAW queues. --- doc/src/aq.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/src/aq.rst b/doc/src/aq.rst index fe99f12..21543a8 100644 --- a/doc/src/aq.rst +++ b/doc/src/aq.rst @@ -282,7 +282,9 @@ Message Properties This attribute identifies the payload that will be enqueued or the payload that was dequeued when using a :ref:`queue `. When enqueuing, the value is checked to ensure that it conforms to the type expected by that - queue. + queue. For RAW queues, the value can be a bytes object or a string. If the + value is a string it will first be converted to bytes by encoding in the + encoding identified by the attribute :attr:`Connection.encoding`. .. attribute:: MessageProperties.priority