Skip to content

Fix on() prototype queue option handling - #17

Open
ryanbmilbourne wants to merge 1 commit into
demchenkoe:masterfrom
ryanbmilbourne:master
Open

Fix on() prototype queue option handling#17
ryanbmilbourne wants to merge 1 commit into
demchenkoe:masterfrom
ryanbmilbourne:master

Conversation

@ryanbmilbourne

Copy link
Copy Markdown

This commit fixes an issue where the on() function prototype was not
creating its queue with the options passed to it (exclusive, durable,
autoDelete). The code is modified to create an object that is passed to
the amqp library. The option contains the properties durable, exclusive
and autoDelete.

Defaults match node-amqp's defaults.

Tested against node-amqp 0.2.4 and RabbitMQ 3.3.5

This commit fixes an issue where the on() function prototype was not
creating its queue with the options passed to it (exclusive, durable,
autoDelete).  The code is modified to create an object that is passed to
the amqp library.  The option contains the properties durable, exclusive
and autoDelete.

Defaults match node-amqp's defaults.

Tested against node-amqp 0.2.4 and RabbitMQ 3.3.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant