summaryrefslogtreecommitdiff
path: root/oslo_messaging/_drivers
diff options
context:
space:
mode:
authorHervé Beraud <hberaud@redhat.com>2021-01-18 14:14:21 +0100
committerHervé Beraud <hberaud@redhat.com>2021-02-01 10:31:16 +0100
commit2b89d97888c9b6cd8b4f23e5ae7ce3103d5f9e5b (patch)
treec6074077c8e99d21c2bb24136a5e1d49b8ef2d16 /oslo_messaging/_drivers
parent7f823b406ea289101694e920c724b63f35b4fe64 (diff)
downloadoslo-messaging-2b89d97888c9b6cd8b4f23e5ae7ce3103d5f9e5b.tar.gz
Deprecate the mandatory flag
It will not be possible to deactivate this functionality anymore. Change-Id: I1cbafff03349f7da9224de46285707fbf2a81a68
Diffstat (limited to 'oslo_messaging/_drivers')
-rw-r--r--oslo_messaging/_drivers/impl_rabbit.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/oslo_messaging/_drivers/impl_rabbit.py b/oslo_messaging/_drivers/impl_rabbit.py
index 756641b..36a4346 100644
--- a/oslo_messaging/_drivers/impl_rabbit.py
+++ b/oslo_messaging/_drivers/impl_rabbit.py
@@ -171,10 +171,14 @@ rabbit_opts = [
'we check the heartbeat.'),
cfg.BoolOpt('direct_mandatory_flag',
default=True,
- help='Enable/Disable the RabbitMQ mandatory flag '
- 'for direct send. The direct send is used as reply, '
+ deprecated_for_removal=True,
+ deprecated_reason='Mandatory flag no longer deactivable.',
+ help='(DEPRECATED) Enable/Disable the RabbitMQ mandatory '
+ 'flag for direct send. The direct send is used as reply, '
'so the MessageUndeliverable exception is raised '
- 'in case the client queue does not exist.'),
+ 'in case the client queue does not exist.'
+ 'This flag is deprecated and it will not be possible to '
+ 'deactivate this functionality anymore'),
cfg.BoolOpt('enable_cancel_on_failover',
default=False,
help="Enable x-cancel-on-ha-failover flag so that "