-
Couldn't load subscription status.
- Fork 8
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
It is not possible to set message.durable to False
The limitation is due to the C library, when setting the values False, it is ignored
rabbitmq-amqp-python-client/rabbitmq_amqp_python_client/qpid/proton/_message.py
Lines 258 to 260 in d3ca042
| @durable.setter | |
| def durable(self, value: bool) -> None: | |
| self._check(pn_message_set_durable(self._msg, bool(value))) |
The server is True by default.
Reproduction steps
Set message durable to False and check it
✅ - When the message is set to 'True`
🚫 When set to False
Even the message.durable is set to False the Clib ignores the value
Expected behavior
The clib should be set False the message
Additional context
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working