diff options
Diffstat (limited to 'messaging/rabbitmq_binding.py')
-rw-r--r-- | messaging/rabbitmq_binding.py | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/messaging/rabbitmq_binding.py b/messaging/rabbitmq_binding.py index c1ca32a1..bc466388 100644 --- a/messaging/rabbitmq_binding.py +++ b/messaging/rabbitmq_binding.py @@ -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 |