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 vhost for queus in message_count #4

Open
mau1024 opened this issue Jan 5, 2018 · 1 comment
Open

set vhost for queus in message_count #4

mau1024 opened this issue Jan 5, 2018 · 1 comment

Comments

@mau1024
Copy link

mau1024 commented Jan 5, 2018

First of all, it is a great plugin and i am enjoying of using it.
I have a question of feature request: Is it possible to set vhost variable for queues list which specified in message_count. it would be the best to allow to set it per queue (like "vhost/queue_name") but ability to override default vhost / will be also good enough.
Regards Vladimir

@akrzos
Copy link
Owner

akrzos commented Jan 9, 2018

Hi Vladimir,

Thanks for the positive feedback.

Is it possible to set vhost variable for queues list which specified in message_count. it would be the best to allow to set it per queue (like "vhost/queue_name") but ability to override default vhost / will be also good enough.

Looking at pyrabbit api for get_messages we need change the plugin to support a different vhost or allow a per-queue configurable vhost. This doesn't look difficult other than deciding upon how to expose that configuration and testing it. I'll see about an implementation in the near future. However to help you now if you just need to change from the default vhost ('/'), change this line in the code to the vhost you need.

Thanks,

Alex

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

No branches or pull requests

2 participants