activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin C." <mart...@gmx.at>
Subject Re: ActiveMQ disconnects producer with large message throughput
Date Fri, 13 Aug 2010 06:25:57 GMT

Hi,

Thanks for the pointer!


Gary Tully wrote:
> 
> filePendingMessagecursor is your man here, and configure a systemUsage
> memory limit that controls how much memory resources are consumed by
> the cursors before offloading to the local filesystem kicks in.
> 

Could you provide a simple configuration as an example? The JavaDoc knows
about a class named FilePendingMessageCursor, but I cannot find it in the
5.3.1 XML schema documentation (the version I am using at the moment and
cannot upgrade that easily).

All I am using right now is:
 <destinationPolicy><policyMap><policyEntries>
   <policyEntry queue=">" producerFlowControl="false">
      <pendingQueuePolicy>
        <fileQueueCursor />
      </pendingQueuePolicy>
    </policyEntry>
 </destinationPolicy></policyMap></policyEntries>

  <systemUsage>
    <systemUsage sendFailIfNoSpace="true">
      <memoryUsage>
        <memoryUsage limit="256 mb" />
      </memoryUsage>
    </systemUsage>
  </systemUsage>

Would this be enough?

Thank you very much in advance!

Best regards,
Martin

PS: Thanks for your blog, I liked the articles there!
-- 
View this message in context: http://old.nabble.com/ActiveMQ-disconnects-producer-with-large-message-throughput-tp29420291p29425985.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message