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

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 😄

@ChunyiLyu ChunyiLyu requested a review from michaelklishin May 19, 2021 16:27
@michaelklishin michaelklishin merged commit 0655b56 into master May 24, 2021
@michaelklishin michaelklishin deleted the queue_type branch May 24, 2021 11:45
@michaelklishin michaelklishin added this to the 2.9.0 milestone Jun 2, 2021
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.

2 participants