You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by themitchy <mi...@sophos.com> on 2009/10/14 20:30:30 UTC

sendFailIfNoSpace and stomp

Is there any way to get the fail notification when the store is full with the
stomp client?  Right now, with sendFailIfNoSpace set to true, when I send to
a broker that is full it just looks like a successful send from stomp's
point of view - which is obviously the opposite of what I would like to see.

Basically we don't want to block when the broker is full but we don't want
to pretend everything is alright.
-- 
View this message in context: http://www.nabble.com/sendFailIfNoSpace-and-stomp-tp25896520p25896520.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: sendFailIfNoSpace and stomp

Posted by Mitch Granger <mi...@sophos.com>.
Turns out AMQ is handling this properly.  It sends an error when you 
request receipt on a send and the broker is full.  It's Net::Stomp which 
does not attempt to read in the error or the receipt.

themitchy wrote:
> Is there any way to get the fail notification when the store is full with the
> stomp client?  Right now, with sendFailIfNoSpace set to true, when I send to
> a broker that is full it just looks like a successful send from stomp's
> point of view - which is obviously the opposite of what I would like to see.
> 
> Basically we don't want to block when the broker is full but we don't want
> to pretend everything is alright.
> --
> View this message in context: http://www.nabble.com/sendFailIfNoSpace-and-stomp-tp25896520p25896520.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>