-
Notifications
You must be signed in to change notification settings - Fork 467
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
Create queues with some x-max-priority values fails #165
Comments
The message says what the problem is: you already have a queue named |
Hi, thanks for the quick answer. I don't have the queue created in RabbitMQ, and also the example code works by only changing the x-max-priority to 256. This is the error I get if the queue was already created with different attributes: Error: Channel closed by server: 406 (PRECONDITION-FAILED) with message "PRECONDITION_FAILED - inequivalent arg 'x-max-priority' for queue 'tasks' in vhost '/': received '258' but current is '256'" |
suggests that you do have that queue in vhost |
In the first example, the error was |
Iiiiinteresting: rabbitmq/rabbitmq-server@a640f74 |
Here's a tour. |
replace the 'x-max-priority' with 'maxPriority' |
data queue should be created with arg x-max-length-bytes" = int64(1000000000) |
If if create a queue with x-max-priority at 255 it fails with the following error:
Error: Channel closed by server: 406 (PRECONDITION-FAILED) with message "PRECONDITION_FAILED - invalid arg 'x-max-priority' for queue 'tasks' in vhost '/': {value_negative,-1}"
This is my example code:
Do you know why this happens?
The text was updated successfully, but these errors were encountered: