Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

Add priority to queue settings #13

Merged
merged 1 commit into from
Jan 22, 2018
Merged

Conversation

johnduro
Copy link
Contributor

Hi @corvus-ch ,

It's really nice that you took back ricbra consumer, i did a PR on it a while ago ( ricbra/rabbitmq-cli-consumer#56 ) and since you are the official fork i adapted it taking your modifications into account.

I added the property x-max-priority to the queue settings, added test and example.

Tell me if you want me to do any modification.

Thanks !

Copy link
Owner

@corvus-ch corvus-ch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @johnduro,

Thanks for your pull request. Can you please simplify the config string used in the test.

Thanks

@@ -63,6 +63,32 @@ const ttlConfig = `[rabbitmq]
error=a
info=b`

const priorityConfig = `[rabbitmq]
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Recent changes made most of the config values optional. Please remove all config values which are not required for this test.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Like the other PR tell me if the deleted config was not what you had in mind

@corvus-ch corvus-ch merged commit a9b48f5 into corvus-ch:master Jan 22, 2018
@corvus-ch
Copy link
Owner

@johnduro thanks for the contribution.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants