reverting this change.. did not intend to commit it with the last commit

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@643534 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Hiram R. Chirino 2008-04-01 19:42:41 +00:00
parent 00fb444810
commit 6146a73673
2 changed files with 27 additions and 77 deletions

View File

@ -21,85 +21,35 @@
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
<!-- Default configuration -->
<broker brokerName="broker1" useJmx="true" persistent="false" xmlns="http://activemq.org/config/1.0" useShutdownHook="false" monitorConnectionSplits="true">
<managementContext>
<managementContext createConnector="false"/>
</managementContext>
<networkConnectors>
<networkConnector uri="static:(tcp://localhost:61626?socketBufferSize=256000)" userName="foo" password="bar" dynamicOnly="false" decreaseNetworkConsumerPriority="true">
<excludedDestinations>
<topic physicalName="bbm.batch.1"/>
<topic physicalName="intl.service.status"/>
</excludedDestinations>
</networkConnector>
</networkConnectors>
<broker useJmx="false" xmlns="http://activemq.org/config/1.0">
<transportConnectors>
<transportConnector uri="tcp://localhost:61616?socketBufferSize=256000"/>
<transportConnector uri="tcp://localhost:61618?socketBufferSize=256000"/>
<transportConnector uri="tcp://localhost:61616"/>
</transportConnectors>
<destinationPolicy>
<policyMap>
<policyEntries>
<policyEntry queue=">" minimumMessageSize="1" optimizedDispatch="true" lazyDispatch="false" producerFlowControl="false">
<deadLetterStrategy>
<sharedDeadLetterStrategy processExpired="false" processNonPersistent="false"/>
</deadLetterStrategy>
</policyEntry>
<policyEntry topic=">" minimumMessageSize="1" optimizedDispatch="true" lazyDispatch="false" producerFlowControl="false">
<deadLetterStrategy>
<sharedDeadLetterStrategy processExpired="false" processNonPersistent="false"/>
</deadLetterStrategy>
</policyEntry>
<policyEntry topic="intl.bbm.batch.>" minimumMessageSize="1" optimizedDispatch="true" lazyDispatch="false" producerFlowControl="false">
<deadLetterStrategy>
<sharedDeadLetterStrategy processExpired="false" processNonPersistent="false"/>
</deadLetterStrategy>
<!--
<pendingMessageLimitStrategy>
<constantPendingMessageLimitStrategy limit="${activemq.pending.message.limit}"/>
</pendingMessageLimitStrategy>
-->
<subscriptionRecoveryPolicy>
<fixedCountSubscriptionRecoveryPolicy maximumSize="10"/>
</subscriptionRecoveryPolicy>
</policyEntry>
<policyEntry topic="bbm.batch.>" minimumMessageSize="1" optimizedDispatch="true" lazyDispatch="false" producerFlowControl="false">
<deadLetterStrategy>
<sharedDeadLetterStrategy processExpired="false" processNonPersistent="false"/>
</deadLetterStrategy>
<!--
<pendingMessageLimitStrategy>
<constantPendingMessageLimitStrategy limit="${activemq.pending.message.limit}"/>
</pendingMessageLimitStrategy>
-->
<subscriptionRecoveryPolicy>
<fixedCountSubscriptionRecoveryPolicy maximumSize="10"/>
</subscriptionRecoveryPolicy>
</policyEntry>
<policyEntry topic="intl.service.status" minimumMessageSize="1" optimizedDispatch="true" lazyDispatch="false" producerFlowControl="false">
<subscriptionRecoveryPolicy>
<lastImageSubscriptionRecoveryPolicy/>
</subscriptionRecoveryPolicy>
</policyEntry>
</policyEntries>
</policyMap>
</destinationPolicy>
<systemUsage>
<systemUsage>
<memoryUsage>
<memoryUsage limit="1gb"/>
</memoryUsage>
</systemUsage>
</systemUsage>
<persistenceAdapter>
<journaledJDBC journalLogFiles="2" dataDirectory="target/foo"/>
</persistenceAdapter>
</broker>
<!-- Example of broker configuration that uses new logging options and dynamic management of logging
<broker useJmx="true" xmlns="http://activemq.org/config/1.0" persistent="false" deleteAllMessagesOnStartup="true">
<transportConnectors>
<transportConnector uri="tcp://localhost:61616?trace=true&amp;logWriterName=custom&amp;dynamicManagement=true&amp;startLogging=true"/>
</transportConnectors>
<persistenceAdapter>
<memoryPersistenceAdapter/>
</persistenceAdapter>
</broker>
End of example-->
<!-- Note: the jmxPort=portnumber option on transportConnectors should only be used on clients.
On brokers, there is a default port (usually 1099) -->
</beans>
<!-- END SNIPPET: xbean -->

View File

@ -18,7 +18,7 @@
#
# The logging properties used during tests..
#
log4j.rootLogger=INFO, stdout
log4j.rootLogger=DEBUG, stdout
log4j.logger.org.apache.activemq.spring=WARN
# CONSOLE appender, not used by default