activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cristisor <cristisor...@yahoo.com>
Subject Re: Messages stuck, back to normal after restart
Date Thu, 07 Nov 2013 09:05:20 GMT
Hello,

I'm not using network brokers but I see a network connector that might have
something to do. This is my ActiveMQ configuration:

  
  <amq:broker id="broker" brokerName="activemq" persistent="true"
depends-on="jmxServer" useShutdownHook="false" advisorySupport="false" >

    
    <amq:managementContext>
      <bean class="org.apache.activemq.broker.jmx.ManagementContext">
        <property name="createConnector" value="false" />
      </bean>
    </amq:managementContext>

    
    <amq:persistenceAdapter>
		<amq:kahaDB directory="activemq-data" journalMaxFileLength="32mb"
checkForCorruptJournalFiles="true" checksumJournalFiles="true"/>

    </amq:persistenceAdapter>

	<amq:destinationPolicy>
            <amq:policyMap>
              <amq:policyEntries>
			  <amq:policyEntry queue=">" producerFlowControl="true" memoryLimit="5mb" 
optimizedDispatch="true">
                  <amq:pendingQueuePolicy>
                    <amq:vmQueueCursor/>
                  </amq:pendingQueuePolicy>
                </amq:policyEntry>
              </amq:policyEntries>
            </amq:policyMap>
        </amq:destinationPolicy>

		<amq:systemUsage>
            <amq:systemUsage>
                <amq:memoryUsage>
                    <amq:memoryUsage limit="358 mb"/>
                </amq:memoryUsage>
                <amq:storeUsage>
                    <amq:storeUsage limit="10 gb"/>
                </amq:storeUsage>
                <amq:tempUsage>
                    <amq:tempUsage limit="100 mb"/>
                </amq:tempUsage>
            </amq:systemUsage>
        </amq:systemUsage>



    <amq:transportConnectors>
       <amq:transportConnector name="serviceMix"
uri="tcp://localhost:62626"/>
	   <amq:transportConnector name="activeMQ" uri="tcp://localhost:61616"/>
    </amq:transportConnectors>

    <amq:networkConnectors>
      
      <amq:networkConnector uri="multicast://default"/>
    </amq:networkConnectors>

  </amq:broker>


Any opinions on my configuration? Could this be caused by the default
prefecth policy or the fact that we don't use the failover transport?

Thanks.



--
View this message in context: http://activemq.2283324.n4.nabble.com/Messages-stuck-back-to-normal-after-restart-tp4673949p4673993.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message