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 14:20:50 GMT

Now AMQ doesn't use tmp_storage but there isn't 
any change for what concerne Producer exception :-(



Gary Tully wrote:
> 
> last piece is to configure a pendingQueuePolicy for your queue that will
> cursor messages in memory rather than spool out to a store. The default is
> a
> store cursor which will be triggered when the memory limit is reached and
> hence will reduce memory usage below your limit. with the vm cursor, the
> memory will be retained.
> 
> To achieve this use the vm cursor as in the topic case:
> 
>            <policyEntry queue="NAM_QUEUE_01" producerFlowControl="false"
> memoryLimit="20kb">
>             <pendingQueuePolicy>
>                  <vmQueueCursor/>
>              </pendingQueuePolicy>
>         </policyEntry>
> 
> 


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


Mime
View raw message