--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/d3888d02-f051-4ba1-96bf-1a86ef7afbfb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
See [1]. There is no way to make RabbitMQ allow for mismatching properties.However, queue length limits don't have to be declared by clients. Policies have been around for yearsand are the recommended way of setting such arbitrary arguments [2][3].Arguments injected by policies are not considered to be a part of queue declaration arguments and thus they cannotcause conflicts documented in [1].
On Mon, May 13, 2019 at 3:29 PM JA <campan...@gmail.com> wrote:
Hello everyone,--
We are using rabbitmq broker and qpid-cpp-1.39.0 API to send/receive messages to/from broker with AMQP1.0
Our rabbitmq broker provider has several queues with 1 message maximum queue size.
We are only setting the parameter durable true when create the receiver since the queue is created as durable
And the following error is returned from rabbit:
Session ended by peer with amqp:precondition-failed: PRECONDITION_FAILED - inequivalent arg 'x-max-length' for queue 'queue_name ' : received none but current is the value '1' of type 'long'
Is there any way to set the x-max-length parameters over AMQP1.0 or is there any way to say rabbitmq to not check max queue length for the receiver?
Note that we are using AMQP1.0.
Thanks in advance
Regards
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitm...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/d3888d02-f051-4ba1-96bf-1a86ef7afbfb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
rabbitmqctl.bat set_policy my-pol "^one-meg$" ^ "{""max-length-bytes"":1048576}" ^ --apply-to queues |
See [1]. There is no way to make RabbitMQ allow for mismatching properties.However, queue length limits don't have to be declared by clients. Policies have been around for yearsand are the recommended way of setting such arbitrary arguments [2][3].Arguments injected by policies are not considered to be a part of queue declaration arguments and thus they cannotcause conflicts documented in [1].
On Mon, May 13, 2019 at 3:29 PM JA <campan...@gmail.com> wrote:
Hello everyone,--
We are using rabbitmq broker and qpid-cpp-1.39.0 API to send/receive messages to/from broker with AMQP1.0
Our rabbitmq broker provider has several queues with 1 message maximum queue size.
We are only setting the parameter durable true when create the receiver since the queue is created as durable
And the following error is returned from rabbit:
Session ended by peer with amqp:precondition-failed: PRECONDITION_FAILED - inequivalent arg 'x-max-length' for queue 'queue_name ' : received none but current is the value '1' of type 'long'
Is there any way to set the x-max-length parameters over AMQP1.0 or is there any way to say rabbitmq to not check max queue length for the receiver?
Note that we are using AMQP1.0.
Thanks in advance
Regards
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitm...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/d3888d02-f051-4ba1-96bf-1a86ef7afbfb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/f21c8d55-ab21-4434-952f-2122f7197142%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.