activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Tully" <>
Subject Re: Blocking on waitForSpace, configuring a timeout??
Date Fri, 02 Jan 2009 23:04:18 GMT
see the sendFailIfNoSpace[1] boolean attribute of SystemUsage which
will result in an exception when producer flow control is enabled (as
it is by default). There is currently no way to specify a timeout.


2009/1/2 IBeaumont <>:
> I send a large amount of messages in one transation that the queues aren't
> configured big enough to handle.  ActiveMQ sits and waits in
> "MemoryUsage.waitForSpace" forever and the whole system appears hung
> (monitoring through jconsole).  The space needed will never become available
> and I need the send message to fail and cause a rollback on the transaction.
> Is it possible to configure a timeout on waitForSpace so that it will
> timeout and fail rather than wait forever?
> Ian
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at


Open Source SOA

View raw message