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

amqp-exchange does not allow creating custom exchanges #10

Open
clarete opened this issue Sep 30, 2014 · 1 comment
Open

amqp-exchange does not allow creating custom exchanges #10

clarete opened this issue Sep 30, 2014 · 1 comment

Comments

@clarete
Copy link

clarete commented Sep 30, 2014

Hi, thanks a lot for the project, amqp-utils is a really helpful tool for managing AMQP servers!

Today I faced the following problem: I'm using a few custom exchange types, like [0]. I don't want my clients to be able even create the exchange from their side, I wanna do that during the deployment of the rabbitmq server, using amqp-utils. However, the amqp-exchange program doesn't allow me to inform perfectly valid values like x-presence.

Here's the place the value gets filtered:
https://github.com/dougbarth/amqp-utils/blob/master/bin/amqp-exchange#L23

Do you think it would be possible to remove this validation, allow the user to send the command to the server and then check the server response for erros?

Again, thanks a lot!

[0] https://github.com/tonyg/presence-exchange

@dougbarth
Copy link
Owner

Hi,

Yeah, definitely. Do you mind coding up that change and sending along a PR?

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