activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pankajmi <>
Subject FileCursor Issues
Date Thu, 23 Sep 2010 15:13:21 GMT

Hi All,

I am Using ActiveMQ 5.4 version. I have gone through the guide it says if we
use filecursor then messages' references will be stored in file if messages
are send in persistent mode.
I have configured ActiveMQ as follows - 
Scenario here is that, I have many consumers but few might be slow consumer
but I may have hundreds of thousands of message. I am using selector. I
define pageSize as large as possible and I am using filecursor so all paged
message doesn't come only in memory.
Now the problem is sometimes I get messages very slowly though my messages
for a particular selector are already in the queue and queue size is within
page size. Please let me know if I am making any mistake while configuring
Early reply will helpful, because I am sort off stuck at this point.

 <broker useJmx="true" persistent="true" 

                          <policyEntry queue=">" producerFlowControl="true"
memoryLimit="25mb" optimizedDispatch="true" maxPageSize="1000000">
                                           <!--  <vmQueueCursor/> -->


      <jdbcPersistenceAdapter dataSource="#mysql-ds"
transactionIsolation="4"  />

                        <memoryUsage limit="1024 mb" />
                        <storeUsage limit="10 gb" name="foo" />
                        <tempUsage limit="1 gb" />

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message