-
Notifications
You must be signed in to change notification settings - Fork 127
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 limit length #30
Comments
I resolved it combining:
Added private attribute to QAmqpQueuePrivate class:
|
@droidsyer ah yes, it looks like optional |
@mbroadst I've just create a PR about this, it's my first time :-D. |
@mbroadst Can you please be aware about "arguments and qamqpInterface.pri" pull request. |
Hi,
Can I configure a queue with limit of length ?
I need to create a queue with last value caching and max number of message equal to 1.
I set this policy with a command on rabbitmq server, without effects....
My problem is a queue grow up more than 1 message.
Example
1 sender publish a message per second
1 receiver receive a message one per second, but if I break it on a breakpoint then i resume from break, It will receive all message buffered on queue, what I want is receive only last value sent.
I think RabbitMQ server holds ready_messages =0
So doesn't purge oldest messages from queue, saving only last message sent.
Thanks,.
The text was updated successfully, but these errors were encountered: