Native YAML - messaging (#3599)

This commit is contained in:
Fabio Alessandro Locati 2016-12-01 13:59:53 +00:00 committed by Matt Clay
parent 5209969a7c
commit 8a6df38cc5
8 changed files with 60 additions and 26 deletions

View file

@ -94,10 +94,18 @@ options:
EXAMPLES = '''
# Bind myQueue to directExchange with routing key info
- rabbitmq_binding: name=directExchange destination=myQueue type=queue routing_key=info
- rabbitmq_binding:
name: directExchange
destination: myQueue
type: queue
routing_key: info
# Bind directExchange to topicExchange with routing key *.info
- rabbitmq_binding: name=topicExchange destination=topicExchange type=exchange routing_key="*.info"
- rabbitmq_binding:
name: topicExchange
destination: topicExchange
type: exchange
routing_key: *.info
'''
import requests