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

incorrect implementation of RabbitMqQueueOptionsBuilder.SetAutoDelete() #57

Closed
wants to merge 1 commit into from

Conversation

jarikp
Copy link
Contributor

@jarikp jarikp commented Aug 26, 2019

Corrected error in RabbitMqQueueOptionsBuilder.SetAutoDelete(): it was impossible to configure QueueTTL unless autoDelete is ON, and those are completely independent parameters in RMQ.

The original version cannot be used to setting queue TTL and not enabling autoDelete at the same time. To workaround one had to disable auto-delete through SetAutoDelete() and set queue TTL as AddArgument("x-expires",TTL_MS).

Rebus is MIT-licensed. The code submitted in this pull request needs to carry the MIT license too. By leaving this text in, I hereby acknowledge that the code submitted in the pull request has the MIT license and can be merged with the Rebus codebase.

…s impossible to configure QueueTTL unless autoDelete is ON, and those are completely independent parameters in RMQ.
@jarikp jarikp closed this Aug 26, 2019
@jarikp
Copy link
Contributor Author

jarikp commented Aug 26, 2019

incorrect check-in, will try again

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