Merge pull request #502 from manuel-sousa/rabbitmq_queue

Add missing defaults
reviewable/pr18780/r1
Brian Coca 10 years ago
commit ed0d3b94b3

@ -82,28 +82,34 @@ options:
description: description:
- How long a message can live in queue before it is discarded (milliseconds) - How long a message can live in queue before it is discarded (milliseconds)
required: False required: False
default: forever
auto_expires: auto_expires:
description: description:
- How long a queue can be unused before it is automatically deleted (milliseconds) - How long a queue can be unused before it is automatically deleted (milliseconds)
required: false required: false
default: forever
max_length: max_length:
description: description:
- How many messages can the queue contain before it starts rejecting - How many messages can the queue contain before it starts rejecting
required: false required: false
default: no limit
dead_letter_exchange: dead_letter_exchange:
description: description:
- Optional name of an exchange to which messages will be republished if they - Optional name of an exchange to which messages will be republished if they
- are rejected or expire - are rejected or expire
required: false required: false
default: None
dead_letter_routing_key: dead_letter_routing_key:
description: description:
- Optional replacement routing key to use when a message is dead-lettered. - Optional replacement routing key to use when a message is dead-lettered.
- Original routing key will be used if unset - Original routing key will be used if unset
required: false required: false
default: None
arguments: arguments:
description: description:
- extra arguments for queue. If defined this argument is a key/value dictionary - extra arguments for queue. If defined this argument is a key/value dictionary
required: false required: false
default: {}
''' '''
EXAMPLES = ''' EXAMPLES = '''

Loading…
Cancel
Save