activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From moreno9000 <moreno.ma...@italtel.it>
Subject Re: sendFailIfNoSpace=true, no JMSException for Producer
Date Thu, 29 Oct 2009 16:10:02 GMT

Yes, exception listener receives a notification when queue is full!

Is this the only way to get a send error?

(Perhaps I'm wrong, but I think that is much more simple to manage an
exception 
in the thread that exec send() instead of delegating this management 
to exception listener's threads). 

Sorry if I'm disturbing you, Gary :-(


Gary Tully wrote:
> 
> ah, my mistake, you still need to enable producerFlow control for your
> queue, for 5.3 this was decoupled but only for persistent messages and
> store
> usage. (https://issues.apache.org/activemq/browse/AMQ-2343).
> So the logic to throw the sendFailIfNoSpace is still dependent on producer
> flow control for memory usage by non persistent messages.
> 
> Also, in case you are still no getting a sync send, can you enable an
> exception listener on your client connection?
> 
> 

-- 
View this message in context: http://www.nabble.com/sendFailIfNoSpace%3Dtrue%2C-no-JMSException-for-Producer-tp26094263p26116077.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message