summaryrefslogtreecommitdiff
path: root/messaging/rabbitmq_exchange.py
diff options
context:
space:
mode:
Diffstat (limited to 'messaging/rabbitmq_exchange.py')
-rw-r--r--messaging/rabbitmq_exchange.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/messaging/rabbitmq_exchange.py b/messaging/rabbitmq_exchange.py
index 7b55b5c6..836db467 100644
--- a/messaging/rabbitmq_exchange.py
+++ b/messaging/rabbitmq_exchange.py
@@ -100,10 +100,14 @@ options:
EXAMPLES = '''
# Create direct exchange
-- rabbitmq_exchange: name=directExchange
+- rabbitmq_exchange:
+ name: directExchange
# Create topic exchange on vhost
-- rabbitmq_exchange: name=topicExchange type=topic vhost=myVhost
+- rabbitmq_exchange:
+ name: topicExchange
+ type: topic
+ vhost: myVhost
'''
import requests