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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set queue type in queue argument if it's set in QueueSettings #189

Merged
merged 3 commits into from May 24, 2021

Conversation

ChunyiLyu
Copy link
Collaborator

@ChunyiLyu ChunyiLyu commented May 19, 2021

Summary

At the moment, setting QueueSettings.Type when calling DeclareQueue does not do anything. This change sets queue argument x-queue-type to the value ofQueueSettings.Type (if present). Took inspiration from: https://github.com/rabbitmq/rabbitmq-management/pull/762/files

Some small refactoring on typos and redundant type conversion.

Thanks @mkuratczyk for looking at this together with me 馃槃

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.

None yet

2 participants