Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix on() prototype queue option handling #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ryanbmilbourne
Copy link

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