activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From newUser06 <bhuvanalakshm...@gmail.com>
Subject Re: Active MQ broker is created even without config
Date Thu, 14 Feb 2013 21:25:45 GMT
Activemq.conf file used by the first app which was able to start the broker
successfully 


<?xml version="1.0" encoding="UTF-8"?>

<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.5.xsd  			
		http://activemq.apache.org/schema/core 
		http://activemq.apache.org/schema/core/activemq-core-5.3.1.xsd"
	default-autowire="byName">

	
	<bean
	
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
	</bean>

	<broker xmlns="http://activemq.apache.org/schema/core"
		brokerName="localhost" advisorySupport="true"
		dataDirectory="${catalina.home}/activemq-data" useJmx="true"
		useShutdownHook="false" start="false">
		
		<managementContext>
     		<managementContext createConnector="false"/>
  		</managementContext>
		
		
		<destinationPolicy>
			<policyMap>
				<policyEntries>
					<policyEntry queue=">" memoryLimit="20mb" producerFlowControl="false"
/>						
					<policyEntry topic=">" memoryLimit="20mb" producerFlowControl="false"
expireMessagesPeriod="120000" >
						<pendingMessageLimitStrategy>
              				<constantPendingMessageLimitStrategy limit="50"/>
            			</pendingMessageLimitStrategy>
            			
				         
            		</policyEntry>
				</policyEntries>
			</policyMap>
		</destinationPolicy>
		
		<systemUsage>
  			<systemUsage sendFailIfNoSpace="true">
    			<memoryUsage>
      				<memoryUsage limit="20 mb" />
    			</memoryUsage>
    			<storeUsage>
      				<storeUsage limit="5 gb" />
    			</storeUsage>
    			<tempUsage>
      				<tempUsage limit="1 gb" />
    			</tempUsage>
  			</systemUsage>
		</systemUsage>

		<plugins>
			<bean xmlns="http://www.springframework.org/schema/beans"
id="jmsAuthPlugin"
				class="main.JmsAuthPlugin">
			</bean>
		</plugins>

		<messageAuthorizationPolicy>
			<bean id="jmsMessageAuthPolicy"
				class="main.JmsMessageAuthorizationPolicy"
				xmlns="">
			</bean>
		</messageAuthorizationPolicy>




		
		<transportConnectors>
				
			<transportConnector name="tcp"			
				uri="tcp://0.0.0.0:61616?wireFormat.maxInactivityDuration=300000" /> 
			<transportConnector name="stomp" uri="stomp://0.0.0.0:61613" />
		</transportConnectors>

	</broker>
</beans>



--
View this message in context: http://activemq.2283324.n4.nabble.com/Active-MQ-broker-is-created-even-without-config-tp4663390p4663497.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message