activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From KRISHNADASANTS <krishnadasa...@geojit.com>
Subject Re: Message stuck on queue(Production Issue)
Date Fri, 10 Jun 2011 06:28:41 GMT
I will give my activemq.xml content here,

<beans
  xmlns="http://www.springframework.org/schema/beans"
  xmlns:amq="http://activemq.apache.org/schema/core"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
  http://activemq.apache.org/schema/core
http://activemq.apache.org/schema/core/activemq-core.xsd">

  
    <bean
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
        <property name="locations">
            <value>file:${activemq.base}/conf/credentials.properties</value>
        </property>      
    </bean>

   
    <broker xmlns="http://activemq.apache.org/schema/core" useJmx="true"
brokerName="localhost" dataDirectory="${activemq.base}/data"
destroyApplicationContextOnStop="true">
 
       
              
        <destinationPolicy>
     <policyMap>
     <policyEntries>
     <policyEntry queue=">"
       optimizedDispatch="true"
       lazyDispatch="false"
       producerFlowControl="false"
       memoryLimit="512mb"
       useCache="false"
       strictOrderDispatch="false">
     </policyEntry>
	 
	 <policyEntry topic=">"
       optimizedDispatch="true"
       lazyDispatch="false"
       producerFlowControl="false"
       memoryLimit="512mb"
       strictOrderDispatch="false">
     </policyEntry>

    </policyEntries>
	</policyMap>
   </destinationPolicy>
 
        
       
        <managementContext>
            <managementContext connectorPort="2014"
jmxDomainName="test.domain"/>
        </managementContext>

		
        <persistenceAdapter>
            <kahaDB directory="${activemq.base}/data/kahadb"/>
        </persistenceAdapter>
        
        
         

	 <plugins>
     		<statisticsBrokerPlugin/>
     </plugins>


        <transportConnectors>
            <transportConnector name="openwire"
uri="tcp://0.0.0.0:61616?jms.prefetchPolicy.queuePrefetch=5&amp;wireFormat.tightEncodingEnabled=false&amp;socketBufferSize=131072&amp;wireFormat.cacheSize=2048"/>
		<transportConnector name="ssl"
uri="ssl://0.0.0.0:61617?jms.prefetchPolicy.queuePrefetch=5&amp;wireFormat.tightEncodingEnabled=false&amp;socketBufferSize=131072&amp;wireFormat.cacheSize=2048"/>
        </transportConnectors>

    </broker>

    
    <import resource="jetty.xml"/>
    
</beans>


Thanks 
Krishnadasan T S


--
View this message in context: http://activemq.2283324.n4.nabble.com/Message-stuck-on-queue-Production-Issue-tp3587653p3587665.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message