Skip to content

Commit 15ce302

Browse files
Be clearer about what sort of payloads are supported and in particular what
happens to strings if they are used in RAW queues.
1 parent a120647 commit 15ce302

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/src/aq.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,9 @@ Message Properties
282282
This attribute identifies the payload that will be enqueued or the payload
283283
that was dequeued when using a :ref:`queue <queue>`. When enqueuing, the
284284
value is checked to ensure that it conforms to the type expected by that
285-
queue.
285+
queue. For RAW queues, the value can be a bytes object or a string. If the
286+
value is a string it will first be converted to bytes by encoding in the
287+
encoding identified by the attribute :attr:`Connection.encoding`.
286288

287289

288290
.. attribute:: MessageProperties.priority

0 commit comments

Comments
 (0)