Be clearer about what sort of payloads are supported and in particular what
happens to strings if they are used in RAW queues.
This commit is contained in:
parent
a120647c76
commit
15ce3024ee
@ -282,7 +282,9 @@ Message Properties
|
|||||||
This attribute identifies the payload that will be enqueued or the payload
|
This attribute identifies the payload that will be enqueued or the payload
|
||||||
that was dequeued when using a :ref:`queue <queue>`. When enqueuing, the
|
that was dequeued when using a :ref:`queue <queue>`. When enqueuing, the
|
||||||
value is checked to ensure that it conforms to the type expected by that
|
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
|
.. attribute:: MessageProperties.priority
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user