Ok I changed the python code in qpid-config. now when I try to remove a not
empty queue it's raise me this error:
Failed: (exception(error_code=406, command_id=serial(44), class_code=8,
command_code=2, field_index=0, description=u'precondition-failed: Queue not
empty.', error_info={}),)
That's great :)
ffrenchm wrote:
>
> How can I set this 'if-empty' parameters through qpid-config. Do I need to
> change the python code ?
>
> Thanks for all Gordon
>
>
> Gordon Sim wrote:
>>
>> ffrenchm wrote:
>>> Hello,
>>>
>>> I realized that you can delete a queue which contain messages. Is this a
>>> normal behavior? From my point of view, QPID should raise an warning or
>>> error to the administrative client. What do you think about ?
>>
>> AMQP defines a queue.delete operation and that takes an 'if-empty'
>> argument that if true will prevent the queue being deleted if it has
>> messages in it. That behaviour is supported on both brokers.
>>
>> (There is also an if-unused argument that prevents the queue being
>> delete if there are active subscribers).
>>
>> ---------------------------------------------------------------------
>> Apache Qpid - AMQP Messaging Implementation
>> Project: http://qpid.apache.org
>> Use/Interact: mailto:[email protected]
>>
>>
>>
>
>
--
View this message in context:
http://n2.nabble.com/Question-about-deleting-queue-tp2497001p2497239.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]