I'm looking at the stats in qpid-tool and it showed the queue is
durable.

My producer client is using Async session, will this delay become
noticeable when the producer is commiting thousands of messages in a few
seconds? And could we have any memory problems when this rejection
happened? I'm trying to rule out the possibility that a full queue will
cause performance issue to the producer which is busy committing.





-----Original Message-----
From: Gordon Sim [mailto:[email protected]] 
Sent: 04 June 2009 13:45
To: [email protected]
Subject: Re: what does the producer client do if the queue in a qpid
cluster is full?

Shan Wang wrote:
> Thanks for the reply, but this is the behaviour of broker, what will
> this affect the producer? Will the producer simply gets notified that
> its message has been accepted/rejected and close the session or maybe
> it'll hang on there for a moment in certain cases.

Sorry, I misunderstood/misread the question.

If the message is rejected the client will be notified of the error and 
the session will be closed. If you are publishing asynchronously, there 
will be a slight delay between you sending the message in the client and

the client library then detecting that the session has been closed.

> Producer has set the delivery property to PERSISTENT, I used
--store-dir
> to start the broker but I'm not sure if that means the queue is
> persistent. Also the producer and broker are using direct exchange.

Are you creating the queue through the c++ client also (if so then 
adding arg::durable=true to the call to queueDeclare() will make the 
queue durable)? Or through some other means (e.g. qpid-config, in which 
case specify --durable when creating the queue)?

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

The information contained in this email is strictly confidential and for the 
use of the addressee only, unless otherwise indicated. If you are not the 
intended recipient, please do not read, copy, use or disclose to others this 
message or any attachment. Please also notify the sender by replying to this 
email or by telephone (+44 (0)20 7896 0011) and then delete the email and any 
copies of it. Opinions, conclusions (etc.) that do not relate to the official 
business of this company shall be understood as neither given nor endorsed by 
it. IG Index plc is a company registered in England and Wales under number 
01190902. VAT registration number 761 2978 07. Registered Office: Friars House, 
157-168 Blackfriars Road, London SE1 8EZ. Authorised and regulated by the 
Financial Services Authority. FSA Register number 114059.

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to