mirror of https://github.com/apache/activemq.git
AMQ-1673: Namespace updated.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@649568 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ce9255979b
commit
c275d4c3ac
|
@ -21,7 +21,7 @@
|
|||
xsi:schemaLocation="
|
||||
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
|
||||
http://activemq.apache.org/camel/schema/spring http://activemq.apache.org/camel/schema/spring/camel-spring.xsd
|
||||
http://activemq.org/config/1.0 http://activemq.apache.org/schema/core/activemq-core-5.0.0.xsd
|
||||
http://activemq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core-5.0.0.xsd
|
||||
">
|
||||
|
||||
<camelContext xmlns="http://activemq.apache.org/camel/schema/spring">
|
||||
|
@ -44,7 +44,7 @@
|
|||
</bean>
|
||||
|
||||
<!-- lets create an embedded broker for this test -->
|
||||
<broker xmlns="http://activemq.org/config/1.0" dataDirectory="target/activemq">
|
||||
<broker xmlns="http://activemq.apache.org/schema/core" dataDirectory="target/activemq">
|
||||
|
||||
<transportConnectors>
|
||||
<transportConnector uri="tcp://localhost:61616"/>
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
xsi:schemaLocation="
|
||||
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
|
||||
http://activemq.apache.org/camel/schema/spring http://activemq.apache.org/camel/schema/spring/camel-spring.xsd
|
||||
http://activemq.org/config/1.0 http://activemq.apache.org/schema/core/activemq-core-5.0.0.xsd
|
||||
http://activemq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core-5.0.0.xsd
|
||||
">
|
||||
|
||||
<camelContext xmlns="http://activemq.apache.org/camel/schema/spring">
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
xsi:schemaLocation="
|
||||
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
|
||||
http://activemq.apache.org/camel/schema/spring http://activemq.apache.org/camel/schema/spring/camel-spring.xsd
|
||||
http://activemq.org/config/1.0 http://activemq.apache.org/schema/core/activemq-core-5.0.0.xsd
|
||||
http://activemq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core-5.0.0.xsd
|
||||
">
|
||||
|
||||
<camelContext xmlns="http://activemq.apache.org/camel/schema/spring">
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
|
||||
|
||||
<!-- Default configuration -->
|
||||
<broker useJmx="false" xmlns="http://activemq.org/config/1.0">
|
||||
<broker useJmx="false" xmlns="http://activemq.apache.org/schema/core">
|
||||
|
||||
<transportConnectors>
|
||||
<transportConnector uri="tcp://localhost:61616"/>
|
||||
|
@ -34,7 +34,7 @@
|
|||
</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">
|
||||
<broker useJmx="true" xmlns="http://activemq.apache.org/schema/core" persistent="false" deleteAllMessagesOnStartup="true">
|
||||
|
||||
<transportConnectors>
|
||||
<transportConnector uri="tcp://localhost:61616?trace=true&logWriterName=custom&dynamicManagement=true&startLogging=true"/>
|
||||
|
|
|
@ -562,7 +562,7 @@
|
|||
<executions>
|
||||
<execution>
|
||||
<configuration>
|
||||
<namespace>http://activemq.org/config/1.0</namespace>
|
||||
<namespace>http://activemq.apache.org/schema/core</namespace>
|
||||
<schema>target/xbean/activemq.xsd</schema>
|
||||
<generateSpringSchemasFile>false</generateSpringSchemasFile>
|
||||
</configuration>
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
<!-- NOTE: this file is autogenerated by Apache XBean -->
|
||||
|
||||
<xs:schema elementFormDefault='qualified'
|
||||
targetNamespace='http://activemq.org/config/1.0'
|
||||
targetNamespace='http://activemq.apache.org/schema/core'
|
||||
xmlns:xs='http://www.w3.org/2001/XMLSchema'
|
||||
xmlns:tns='http://activemq.org/config/1.0'>
|
||||
xmlns:tns='http://activemq.apache.org/schema/core'>
|
||||
|
||||
<!-- element for type: org.apache.activemq.store.amq.AMQPersistenceAdapter -->
|
||||
<xs:element name='amqPersistenceAdapter'>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!-- NOTE: this file is autogenerated by Apache XBean -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Schema for namespace: http://activemq.org/config/1.0</title>
|
||||
<title>Schema for namespace: http://activemq.apache.org/schema/core</title>
|
||||
<link rel='stylesheet' href='style.css' type='text/css'>
|
||||
<link rel='stylesheet' href='http://activemq.org/style.css' type='text/css'>
|
||||
<link rel='stylesheet' href='http://activemq.org/style-xb.css' type='text/css'>
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
<beans>
|
||||
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
|
||||
|
||||
<broker useJmx="false" xmlns="http://activemq.org/config/1.0" persistent="false">
|
||||
<broker useJmx="false" xmlns="http://activemq.apache.org/schema/core" persistent="false">
|
||||
|
||||
<transportConnectors>
|
||||
<transportConnector uri="tcp://localhost:0" discoveryUri="multicast://default"/>
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer" />
|
||||
|
||||
<broker xmlns="http://activemq.org/config/1.0">
|
||||
<broker xmlns="http://activemq.apache.org/schema/core">
|
||||
<destinations>
|
||||
<queue physicalName="FOO.BAR" />
|
||||
<topic physicalName="SOME.TOPIC" />
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<beans>
|
||||
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
|
||||
|
||||
<broker brokerName="master" persistent="false" useJmx="false" deleteAllMessagesOnStartup="true" xmlns="http://activemq.org/config/1.0">
|
||||
<broker brokerName="master" persistent="false" useJmx="false" deleteAllMessagesOnStartup="true" xmlns="http://activemq.apache.org/schema/core">
|
||||
<transportConnectors>
|
||||
<transportConnector uri="tcp://localhost:62001"/>
|
||||
</transportConnectors>
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<beans>
|
||||
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
|
||||
|
||||
<broker brokerName="shared" useJmx="false" deleteAllMessagesOnStartup="true" xmlns="http://activemq.org/config/1.0">
|
||||
<broker brokerName="shared" useJmx="false" deleteAllMessagesOnStartup="true" xmlns="http://activemq.apache.org/schema/core">
|
||||
<transportConnectors>
|
||||
<transportConnector uri="tcp://localhost:62001"/>
|
||||
</transportConnectors>
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<beans>
|
||||
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
|
||||
|
||||
<broker brokerName="shared" useJmx="false" deleteAllMessagesOnStartup="true" xmlns="http://activemq.org/config/1.0">
|
||||
<broker brokerName="shared" useJmx="false" deleteAllMessagesOnStartup="true" xmlns="http://activemq.apache.org/schema/core">
|
||||
<transportConnectors>
|
||||
<transportConnector uri="tcp://localhost:62002"/>
|
||||
</transportConnectors>
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<beans>
|
||||
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
|
||||
|
||||
<broker brokerName="slave" useJmx="false" masterConnectorURI="tcp://localhost:62001" xmlns="http://activemq.org/config/1.0">
|
||||
<broker brokerName="slave" useJmx="false" masterConnectorURI="tcp://localhost:62001" xmlns="http://activemq.apache.org/schema/core">
|
||||
<transportConnectors>
|
||||
<transportConnector uri="tcp://localhost:62002"/>
|
||||
</transportConnectors>
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
|
||||
|
||||
<!-- START SNIPPET: example -->
|
||||
<broker brokerName="slave" useJmx="false" deleteAllMessagesOnStartup="true" xmlns="http://activemq.org/config/1.0">
|
||||
<broker brokerName="slave" useJmx="false" deleteAllMessagesOnStartup="true" xmlns="http://activemq.apache.org/schema/core">
|
||||
|
||||
<transportConnectors>
|
||||
<transportConnector uri="tcp://localhost:62002"/>
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
<beans>
|
||||
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
|
||||
|
||||
<broker persistent="false" xmlns="http://activemq.org/config/1.0">
|
||||
<broker persistent="false" xmlns="http://activemq.apache.org/schema/core">
|
||||
|
||||
<!-- lets define the dispatch policy -->
|
||||
<destinationPolicy>
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<beans>
|
||||
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
|
||||
|
||||
<broker persistent="false" xmlns="http://activemq.org/config/1.0">
|
||||
<broker persistent="false" xmlns="http://activemq.apache.org/schema/core">
|
||||
|
||||
<!-- lets define the dispatch policy -->
|
||||
<destinationPolicy>
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<beans>
|
||||
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
|
||||
|
||||
<broker brokerName="broker" persistent="false" useJmx="false" xmlns="http://activemq.org/config/1.0">
|
||||
<broker brokerName="broker" persistent="false" useJmx="false" xmlns="http://activemq.apache.org/schema/core">
|
||||
<transportConnectors>
|
||||
<transportConnector uri="tcp://localhost:0"/>
|
||||
</transportConnectors>
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
<usageManager id="memory-manager" limit="1048576"/> <!-- 1 meg limit -->
|
||||
|
||||
<broker useJmx="true" deleteAllMessagesOnStartup="true" memoryManager="#memory-manager" xmlns="http://activemq.org/config/1.0">
|
||||
<broker useJmx="true" deleteAllMessagesOnStartup="true" memoryManager="#memory-manager" xmlns="http://activemq.apache.org/schema/core">
|
||||
|
||||
<persistenceAdapter>
|
||||
<journaledJDBC
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer" />
|
||||
|
||||
<broker persistent="false" useJmx="false" xmlns="http://activemq.org/config/1.0">
|
||||
<broker persistent="false" useJmx="false" xmlns="http://activemq.apache.org/schema/core">
|
||||
<destinationInterceptors>
|
||||
<virtualDestinationInterceptor>
|
||||
<virtualDestinations>
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer" />
|
||||
|
||||
<broker xmlns="http://activemq.org/config/1.0">
|
||||
<broker xmlns="http://activemq.apache.org/schema/core">
|
||||
<destinationInterceptors>
|
||||
<virtualDestinationInterceptor>
|
||||
<virtualDestinations>
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer" />
|
||||
|
||||
<broker xmlns="http://activemq.org/config/1.0">
|
||||
<broker xmlns="http://activemq.apache.org/schema/core">
|
||||
<destinationInterceptors>
|
||||
<virtualDestinationInterceptor>
|
||||
<virtualDestinations>
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer" />
|
||||
|
||||
<broker xmlns="http://activemq.org/config/1.0">
|
||||
<broker xmlns="http://activemq.apache.org/schema/core">
|
||||
<destinationInterceptors>
|
||||
<virtualDestinationInterceptor>
|
||||
<virtualDestinations>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
-->
|
||||
<beans>
|
||||
|
||||
<broker brokerName="localhost" xmlns="http://activemq.org/config/1.0" persistent="true">
|
||||
<broker brokerName="localhost" xmlns="http://activemq.apache.org/schema/core" persistent="true">
|
||||
|
||||
<persistenceAdapter>
|
||||
<kahaPersistenceAdapter directory="file:kahadir" maxDataFileLength="200000"/>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
-->
|
||||
<beans>
|
||||
|
||||
<broker brokerName="brokerXmlConfigHelper" persistent="false" useShutdownHook="false" deleteAllMessagesOnStartup="true" xmlns="http://activemq.org/config/1.0">
|
||||
<broker brokerName="brokerXmlConfigHelper" persistent="false" useShutdownHook="false" deleteAllMessagesOnStartup="true" xmlns="http://activemq.apache.org/schema/core">
|
||||
<transportConnectors>
|
||||
<transportConnector uri="tcp://localhost:61638"/>
|
||||
</transportConnectors>
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<beans xmlns:amq="http://activemq.org/config/1.0">
|
||||
<beans xmlns:amq="http://activemq.apache.org/schema/core">
|
||||
|
||||
<!-- normal ActiveMQ XML config which is less verbose & can be validated -->
|
||||
<amq:broker brokerName="brokerConfigTest" populateJMSXUserID="false"
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<beans xmlns:amq="http://activemq.org/config/1.0">
|
||||
<beans xmlns:amq="http://activemq.apache.org/schema/core">
|
||||
|
||||
<amq:broker brokerName="brokerJdbcConfigTest" persistent="false" useShutdownHook="false" deleteAllMessagesOnStartup="true">
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<beans xmlns:amq="http://activemq.org/config/1.0">
|
||||
<beans xmlns:amq="http://activemq.apache.org/schema/core">
|
||||
|
||||
<amq:broker brokerName="brokerJournalConfigTest" persistent="false" useShutdownHook="false" deleteAllMessagesOnStartup="true">
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
limitations under the License.
|
||||
-->
|
||||
|
||||
<beans xmlns:amq="http://activemq.org/config/1.0">
|
||||
<beans xmlns:amq="http://activemq.apache.org/schema/core">
|
||||
|
||||
<amq:broker brokerName="brokerJournaledJDBCConfigTest" persistent="false" useShutdownHook="false" deleteAllMessagesOnStartup="true">
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
limitations under the License.
|
||||
-->
|
||||
|
||||
<beans xmlns:amq="http://activemq.org/config/1.0">
|
||||
<beans xmlns:amq="http://activemq.apache.org/schema/core">
|
||||
|
||||
<amq:broker brokerName="brokerMemoryConfigTest" persistent="false" useShutdownHook="false" deleteAllMessagesOnStartup="true">
|
||||
|
||||
|
|
|
@ -17,10 +17,10 @@
|
|||
<!-- START SNIPPET: example -->
|
||||
<beans
|
||||
xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:amq="http://activemq.org/config/1.0"
|
||||
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.org/config/1.0 http://activemq.apache.org/schema/activemq-core.xsd
|
||||
http://activemq.apache.org/schema/core http://activemq.apache.org/schema/activemq-core.xsd
|
||||
http://activemq.apache.org/camel/schema/spring http://activemq.apache.org/camel/schema/spring/camel-spring.xsd">
|
||||
|
||||
<!-- Allows us to use system properties as variables in this configuration file -->
|
||||
|
@ -28,7 +28,7 @@
|
|||
<property name="location" value="org/apache/activemq/memory/usage.properties"/>
|
||||
</bean>
|
||||
|
||||
<broker xmlns="http://activemq.org/config/1.0" brokerName="${name}" persistent="false">
|
||||
<broker xmlns="http://activemq.apache.org/schema/core" brokerName="${name}" persistent="false">
|
||||
|
||||
<!-- Use the following to set the broker memory limit -->
|
||||
<systemUsage>
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<beans>
|
||||
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
|
||||
|
||||
<broker brokerName="localBroker" persistent="true" useShutdownHook="false" xmlns="http://activemq.org/config/1.0">
|
||||
<broker brokerName="localBroker" persistent="true" useShutdownHook="false" xmlns="http://activemq.apache.org/schema/core">
|
||||
<transportConnectors>
|
||||
<transportConnector uri="tcp://localhost:61616"/>
|
||||
</transportConnectors>
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
<!-- remote broker -->
|
||||
|
||||
<broker xmlns="http://activemq.org/config/1.0" id="remotebroker"
|
||||
<broker xmlns="http://activemq.apache.org/schema/core" id="remotebroker"
|
||||
brokerName="remotebroker" persistent="false">
|
||||
<transportConnectors>
|
||||
<transportConnector uri="tcp://localhost:61666" />
|
||||
|
@ -31,7 +31,7 @@
|
|||
<!-- local broker with embedded Jms to Jms bridge (ok - it's contrived) -->
|
||||
|
||||
<!-- START SNIPPET: example -->
|
||||
<broker xmlns="http://activemq.org/config/1.0" id="localbroker"
|
||||
<broker xmlns="http://activemq.apache.org/schema/core" id="localbroker"
|
||||
brokerName="localBroker" persistent="false">
|
||||
<transportConnectors>
|
||||
<transportConnector uri="tcp://localhost:61234" />
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<beans>
|
||||
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
|
||||
|
||||
<broker brokerName="localBroker" persistent="true" useShutdownHook="false" monitorConnectionSplits="true" xmlns="http://activemq.org/config/1.0">
|
||||
<broker brokerName="localBroker" persistent="true" useShutdownHook="false" monitorConnectionSplits="true" xmlns="http://activemq.apache.org/schema/core">
|
||||
<transportConnectors>
|
||||
<transportConnector uri="tcp://localhost:61616"/>
|
||||
</transportConnectors>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
-->
|
||||
<beans>
|
||||
|
||||
<broker brokerName="localBroker" persistent="false" useShutdownHook="false" xmlns="http://activemq.org/config/1.0">
|
||||
<broker brokerName="localBroker" persistent="false" useShutdownHook="false" xmlns="http://activemq.apache.org/schema/core">
|
||||
|
||||
<transportConnectors><transportConnector uri="tcp://localhost:61616" /></transportConnectors>
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
-->
|
||||
<beans>
|
||||
|
||||
<broker brokerName="remoteBroker" persistent="false" useShutdownHook="false" xmlns="http://activemq.org/config/1.0">
|
||||
<broker brokerName="remoteBroker" persistent="false" useShutdownHook="false" xmlns="http://activemq.apache.org/schema/core">
|
||||
|
||||
<transportConnectors><transportConnector uri="tcp://localhost:61617" /></transportConnectors>
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<beans>
|
||||
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
|
||||
|
||||
<broker brokerName="broker1" persistent="false" useShutdownHook="false" useJmx="false" xmlns="http://activemq.org/config/1.0">
|
||||
<broker brokerName="broker1" persistent="false" useShutdownHook="false" useJmx="false" xmlns="http://activemq.apache.org/schema/core">
|
||||
|
||||
<!-- disabling the subscription recovery policy allows us take memory leaks easier -->
|
||||
<destinationPolicy>
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<beans>
|
||||
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
|
||||
|
||||
<broker brokerName="broker2" persistent="false" useShutdownHook="false" useJmx="false" xmlns="http://activemq.org/config/1.0">
|
||||
<broker brokerName="broker2" persistent="false" useShutdownHook="false" useJmx="false" xmlns="http://activemq.apache.org/schema/core">
|
||||
|
||||
<!-- disabling the subscription recovery policy allows us take memory leaks easier -->
|
||||
<destinationPolicy>
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<beans>
|
||||
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
|
||||
|
||||
<broker brokerName="remoteBroker" persistent="true" useShutdownHook="false" monitorConnectionSplits="true" xmlns="http://activemq.org/config/1.0">
|
||||
<broker brokerName="remoteBroker" persistent="true" useShutdownHook="false" monitorConnectionSplits="true" xmlns="http://activemq.apache.org/schema/core">
|
||||
<transportConnectors>
|
||||
<transportConnector uri="tcp://localhost:61617"/>
|
||||
</transportConnectors>
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<beans>
|
||||
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
|
||||
|
||||
<broker brokerName="broker1" persistent="false" useShutdownHook="false" useJmx="false" xmlns="http://activemq.org/config/1.0">
|
||||
<broker brokerName="broker1" persistent="false" useShutdownHook="false" useJmx="false" xmlns="http://activemq.apache.org/schema/core">
|
||||
|
||||
<!-- disabling the subscription recovery policy allows us take memory leaks easier -->
|
||||
<destinationPolicy>
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<beans>
|
||||
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
|
||||
|
||||
<broker brokerName="broker2" persistent="false" useShutdownHook="false" useJmx="false" xmlns="http://activemq.org/config/1.0">
|
||||
<broker brokerName="broker2" persistent="false" useShutdownHook="false" useJmx="false" xmlns="http://activemq.apache.org/schema/core">
|
||||
|
||||
<!-- disabling the subscription recovery policy allows us take memory leaks easier -->
|
||||
<destinationPolicy>
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<beans >
|
||||
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
|
||||
|
||||
<broker brokerName="broker" persistent="true" useShutdownHook="false" deleteAllMessagesOnStartup="true" xmlns="http://activemq.org/config/1.0">
|
||||
<broker brokerName="broker" persistent="true" useShutdownHook="false" deleteAllMessagesOnStartup="true" xmlns="http://activemq.apache.org/schema/core">
|
||||
<transportConnectors>
|
||||
<transportConnector uri="tcp://localhost:61616"/>
|
||||
</transportConnectors>
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<beans>
|
||||
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
|
||||
|
||||
<broker brokerName="slowConsumerBroker" useJmx="false" persistent="false" useShutdownHook="false" xmlns="http://activemq.org/config/1.0">
|
||||
<broker brokerName="slowConsumerBroker" useJmx="false" persistent="false" useShutdownHook="false" xmlns="http://activemq.apache.org/schema/core">
|
||||
<transportConnectors>
|
||||
<transportConnector uri="tcp://localhost:61616"/>
|
||||
</transportConnectors>
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<beans>
|
||||
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
|
||||
|
||||
<broker useJmx="false" persistent="false" xmlns="http://activemq.org/config/1.0" populateJMSXUserID="true">
|
||||
<broker useJmx="false" persistent="false" xmlns="http://activemq.apache.org/schema/core" populateJMSXUserID="true">
|
||||
|
||||
<plugins>
|
||||
<!-- use JAAS to authenticate using the login.config file on the classpath to configure JAAS -->
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<beans>
|
||||
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
|
||||
|
||||
<broker useJmx="false" persistent="false" xmlns="http://activemq.org/config/1.0" populateJMSXUserID="true">
|
||||
<broker useJmx="false" persistent="false" xmlns="http://activemq.apache.org/schema/core" populateJMSXUserID="true">
|
||||
|
||||
<plugins>
|
||||
<simpleAuthenticationPlugin>
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<beans>
|
||||
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
|
||||
|
||||
<broker persistent="false" xmlns="http://activemq.org/config/1.0">
|
||||
<broker persistent="false" xmlns="http://activemq.apache.org/schema/core">
|
||||
|
||||
<destinationPolicy>
|
||||
<policyMap>
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<beans>
|
||||
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
|
||||
|
||||
<broker persistent="false" xmlns="http://activemq.org/config/1.0">
|
||||
<broker persistent="false" xmlns="http://activemq.apache.org/schema/core">
|
||||
|
||||
<destinationPolicy>
|
||||
<policyMap>
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
|
||||
|
||||
<broker persistent="false" xmlns="http://activemq.org/config/1.0">
|
||||
<broker persistent="false" xmlns="http://activemq.apache.org/schema/core">
|
||||
|
||||
<destinationPolicy>
|
||||
<policyMap>
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
|
||||
|
||||
<broker persistent="false" xmlns="http://activemq.org/config/1.0">
|
||||
<broker persistent="false" xmlns="http://activemq.apache.org/schema/core">
|
||||
|
||||
<destinationPolicy>
|
||||
<policyMap>
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
|
||||
|
||||
<broker persistent="false" xmlns="http://activemq.org/config/1.0">
|
||||
<broker persistent="false" xmlns="http://activemq.apache.org/schema/core">
|
||||
|
||||
<destinationPolicy>
|
||||
<policyMap>
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
<property name="annotatedClass"><value>org.apache.activemq.transport.stomp.SamplePojo</value></property>
|
||||
</bean>
|
||||
|
||||
<broker useJmx="false" persistent="false" xmlns="http://activemq.org/config/1.0" populateJMSXUserID="true">
|
||||
<broker useJmx="false" persistent="false" xmlns="http://activemq.apache.org/schema/core" populateJMSXUserID="true">
|
||||
|
||||
<transportConnectors>
|
||||
<transportConnector name="stomp" uri="stomp://localhost:61613"/>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
-->
|
||||
<beans>
|
||||
|
||||
<broker useJmx="true" xmlns="http://activemq.org/config/1.0">
|
||||
<broker useJmx="true" xmlns="http://activemq.apache.org/schema/core">
|
||||
|
||||
<!-- In ActiveMQ 4, you can setup destination policies -->
|
||||
<destinationPolicy>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
-->
|
||||
<beans>
|
||||
|
||||
<broker brokerName="BrokerA" persistent="false" useJmx="false" xmlns="http://activemq.org/config/1.0">
|
||||
<broker brokerName="BrokerA" persistent="false" useJmx="false" xmlns="http://activemq.apache.org/schema/core">
|
||||
<transportConnectors>
|
||||
<transportConnector uri="tcp://localhost:61616" discoveryUri="multicast://default"/>
|
||||
</transportConnectors>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
-->
|
||||
<beans>
|
||||
|
||||
<broker brokerName="BrokerB" persistent="false" useJmx="false" xmlns="http://activemq.org/config/1.0">
|
||||
<broker brokerName="BrokerB" persistent="false" useJmx="false" xmlns="http://activemq.apache.org/schema/core">
|
||||
<transportConnectors>
|
||||
<transportConnector uri="tcp://localhost:61617" discoveryUri="multicast://default"/>
|
||||
</transportConnectors>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
-->
|
||||
<beans>
|
||||
|
||||
<broker brokerName="BrokerB" persistent="false" useJmx="false" xmlns="http://activemq.org/config/1.0">
|
||||
<broker brokerName="BrokerB" persistent="false" useJmx="false" xmlns="http://activemq.apache.org/schema/core">
|
||||
<transportConnectors>
|
||||
<transportConnector uri="tcp://localhost:0" discoveryUri="multicast://default"/>
|
||||
</transportConnectors>
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<beans>
|
||||
|
||||
|
||||
<broker brokerName="receiver" persistent="false" useJmx="false" xmlns="http://activemq.org/config/1.0">
|
||||
<broker brokerName="receiver" persistent="false" useJmx="false" xmlns="http://activemq.apache.org/schema/core">
|
||||
<transportConnectors>
|
||||
<transportConnector uri="tcp://localhost:0" discoveryUri="multicast://default"/>
|
||||
</transportConnectors>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
-->
|
||||
<beans>
|
||||
|
||||
<broker brokerName="receiver" persistent="false" xmlns="http://activemq.org/config/1.0">
|
||||
<broker brokerName="receiver" persistent="false" xmlns="http://activemq.apache.org/schema/core">
|
||||
<transportConnectors>
|
||||
<transportConnector uri="http://localhost:62302"/>
|
||||
</transportConnectors>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
-->
|
||||
<beans>
|
||||
|
||||
<broker brokerName="receiver" persistent="false" useJmx="false" xmlns="http://activemq.org/config/1.0">
|
||||
<broker brokerName="receiver" persistent="false" useJmx="false" xmlns="http://activemq.apache.org/schema/core">
|
||||
<transportConnectors>
|
||||
<transportConnector uri="tcp://localhost:62002"/>
|
||||
</transportConnectors>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
-->
|
||||
<beans>
|
||||
|
||||
<broker brokerName="sender" persistent="false" useJmx="false" xmlns="http://activemq.org/config/1.0">
|
||||
<broker brokerName="sender" persistent="false" useJmx="false" xmlns="http://activemq.apache.org/schema/core">
|
||||
<transportConnectors>
|
||||
<transportConnector uri="tcp://localhost:0" discoveryUri="multicast://default"/>
|
||||
</transportConnectors>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
-->
|
||||
<beans>
|
||||
|
||||
<broker brokerName="sender" persistent="false" xmlns="http://activemq.org/config/1.0">
|
||||
<broker brokerName="sender" persistent="false" xmlns="http://activemq.apache.org/schema/core">
|
||||
<transportConnectors>
|
||||
<transportConnector uri="http://localhost:62301"/>
|
||||
</transportConnectors>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
-->
|
||||
<beans>
|
||||
|
||||
<broker brokerName="sender" persistent="false" useJmx="false" xmlns="http://activemq.org/config/1.0">
|
||||
<broker brokerName="sender" persistent="false" useJmx="false" xmlns="http://activemq.apache.org/schema/core">
|
||||
<transportConnectors>
|
||||
<transportConnector uri="tcp://localhost:62001"/>
|
||||
</transportConnectors>
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<beans>
|
||||
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
|
||||
|
||||
<broker useJmx="false" persistent="false" xmlns="http://activemq.org/config/1.0">
|
||||
<broker useJmx="false" persistent="false" xmlns="http://activemq.apache.org/schema/core">
|
||||
|
||||
<plugins>
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
|
||||
|
||||
<broker persistent="false" brokerName="${brokername}" xmlns="http://activemq.org/config/1.0">
|
||||
<broker persistent="false" brokerName="${brokername}" xmlns="http://activemq.apache.org/schema/core">
|
||||
|
||||
<!-- lets define the dispatch policy -->
|
||||
<destinationPolicy>
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
|
||||
|
||||
<broker useJmx="true" xmlns="http://activemq.org/config/1.0">
|
||||
<broker useJmx="true" xmlns="http://activemq.apache.org/schema/core">
|
||||
|
||||
<persistenceAdapter>
|
||||
<journaledJDBC journalLogFiles="5" dataDirectory="${basedir}/target/foo" />
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
|
||||
|
||||
<!-- for easier integration with the JUnit tests, lets not start the broker when the ApplicationContext starts -->
|
||||
<broker useJmx="true" start="false" xmlns="http://activemq.org/config/1.0">
|
||||
<broker useJmx="true" start="false" xmlns="http://activemq.apache.org/schema/core">
|
||||
<destinationPolicy>
|
||||
<policyMap>
|
||||
<policyEntries>
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
|
||||
|
||||
<broker useJmx="true" xmlns="http://activemq.org/config/1.0">
|
||||
<broker useJmx="true" xmlns="http://activemq.apache.org/schema/core">
|
||||
|
||||
<transportConnectors>
|
||||
<transportConnector uri="tcp://localhost:61636" />
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<beans>
|
||||
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
|
||||
|
||||
<broker useJmx="false" xmlns="http://activemq.org/config/1.0">
|
||||
<broker useJmx="false" xmlns="http://activemq.apache.org/schema/core">
|
||||
|
||||
<persistenceAdapter>
|
||||
<journaledJDBC useJournal="false">
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer" />
|
||||
|
||||
<broker useJmx="true" xmlns="http://activemq.org/config/1.0">
|
||||
<broker useJmx="true" xmlns="http://activemq.apache.org/schema/core">
|
||||
<managementContext>
|
||||
<managementContext connectorPort="2011" jmxDomainName="test.domain" />
|
||||
</managementContext>
|
||||
|
|
|
@ -19,10 +19,10 @@
|
|||
<!-- START SNIPPET: spring -->
|
||||
<beans
|
||||
xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:amq="http://activemq.org/config/1.0"
|
||||
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.org/config/1.0 file:./target/xbean/activemq.xsd">
|
||||
http://activemq.apache.org/schema/core file:./target/xbean/activemq.xsd">
|
||||
|
||||
<!-- lets create an embedded ActiveMQ Broker -->
|
||||
<amq:broker useJmx="false" persistent="false">
|
||||
|
|
|
@ -19,10 +19,10 @@
|
|||
<!-- START SNIPPET: spring -->
|
||||
<beans
|
||||
xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:amq="http://activemq.org/config/1.0"
|
||||
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.org/config/1.0 http://activemq.apache.org/schema/activemq-core.xsd">
|
||||
http://activemq.apache.org/schema/core http://activemq.apache.org/schema/activemq-core.xsd">
|
||||
|
||||
<!-- lets create an embedded ActiveMQ Broker -->
|
||||
<amq:broker useJmx="false" persistent="false">
|
||||
|
|
|
@ -19,10 +19,10 @@
|
|||
<!-- START SNIPPET: spring -->
|
||||
<beans
|
||||
xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:amq="http://activemq.org/config/1.0"
|
||||
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.org/config/1.0 http://activemq.apache.org/schema/core/activemq-core-5.0.0.xsd">
|
||||
http://activemq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core-5.0.0.xsd">
|
||||
|
||||
<!-- lets create an embedded ActiveMQ Broker -->
|
||||
<amq:broker useJmx="false" persistent="false">
|
||||
|
|
|
@ -94,7 +94,7 @@
|
|||
<executions>
|
||||
<execution>
|
||||
<configuration>
|
||||
<namespace>http://activemq.org/activemq-jpa-store/config/1.0</namespace>
|
||||
<namespace>http://activemq.apache.org/schema/jpa-store</namespace>
|
||||
<schema>target/xbean/activemq-jpa-store.xsd</schema>
|
||||
</configuration>
|
||||
<goals>
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
brokerName="broker"
|
||||
persistent="false" useJmx="false"
|
||||
deleteAllMessagesOnStartup="true"
|
||||
xmlns="http://activemq.org/config/1.0" persistenceAdapter="#jpa">
|
||||
xmlns="http://activemq.apache.org/schema/core" persistenceAdapter="#jpa">
|
||||
|
||||
<transportConnectors>
|
||||
<transportConnector uri="tcp://localhost:0"/>
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
brokerName="broker"
|
||||
persistent="false" useJmx="false"
|
||||
deleteAllMessagesOnStartup="true"
|
||||
xmlns="http://activemq.org/config/1.0">
|
||||
xmlns="http://activemq.apache.org/schema/core">
|
||||
|
||||
<transportConnectors>
|
||||
<transportConnector uri="tcp://localhost:0"/>
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
limitations under the License.
|
||||
-->
|
||||
<!-- START SNIPPET: xbean -->
|
||||
<beans xmlns="http://activemq.org/config/1.0">
|
||||
<beans xmlns="http://activemq.apache.org/schema/core">
|
||||
|
||||
<broker useJmx="false" brokerName="defaultBroker" start="false" persistent="true" useShutdownHook="false" deleteAllMessagesOnStartup="true">
|
||||
<persistenceAdapter>
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
limitations under the License.
|
||||
-->
|
||||
<!-- START SNIPPET: xbean -->
|
||||
<beans xmlns="http://activemq.org/config/1.0">
|
||||
<beans xmlns="http://activemq.apache.org/schema/core">
|
||||
|
||||
<broker useJmx="false" brokerName="jdbcBroker" start="false" persistent="true" useShutdownHook="false" deleteAllMessagesOnStartup="true" advisorySupport="false">
|
||||
<persistenceAdapter>
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
limitations under the License.
|
||||
-->
|
||||
|
||||
<beans xmlns:amq="http://activemq.org/config/1.0">
|
||||
<beans xmlns:amq="http://activemq.apache.org/schema/core">
|
||||
|
||||
<amq:broker brokerName="journaledMemBroker" start="false" persistent="false" useShutdownHook="false" deleteAllMessagesOnStartup="true" advisorySupport="false">
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
limitations under the License.
|
||||
-->
|
||||
<!-- START SNIPPET: xbean -->
|
||||
<beans xmlns="http://activemq.org/config/1.0">
|
||||
<beans xmlns="http://activemq.apache.org/schema/core">
|
||||
|
||||
<broker useJmx="false" brokerName="kahaBroker" start="false" persistent="true" useShutdownHook="false" deleteAllMessagesOnStartup="true" advisorySupport="false">
|
||||
<persistenceAdapter>
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
limitations under the License.
|
||||
-->
|
||||
<!-- START SNIPPET: xbean -->
|
||||
<beans xmlns="http://activemq.org/config/1.0">
|
||||
<beans xmlns="http://activemq.apache.org/schema/core">
|
||||
|
||||
<broker useJmx="false" brokerName="memoryBroker" start="false" persistent="false" useShutdownHook="false" deleteAllMessagesOnStartup="true" advisorySupport="false">
|
||||
<persistenceAdapter>
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
limitations under the License.
|
||||
-->
|
||||
<!-- START SNIPPET: xbean -->
|
||||
<beans xmlns="http://activemq.org/config/1.0">
|
||||
<beans xmlns="http://activemq.apache.org/schema/core">
|
||||
|
||||
<broker useJmx="false" brokerName="quickJdbcBroker" start="false" persistent="true" useShutdownHook="false" deleteAllMessagesOnStartup="true" advisorySupport="false">
|
||||
<persistenceAdapter>
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
limitations under the License.
|
||||
-->
|
||||
|
||||
<beans xmlns:amq="http://activemq.org/config/1.0">
|
||||
<beans xmlns:amq="http://activemq.apache.org/schema/core">
|
||||
|
||||
<amq:broker brokerName="quickMemBroker" start="false" persistent="false" useShutdownHook="false" deleteAllMessagesOnStartup="true" advisorySupport="false">
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
limitations under the License.
|
||||
-->
|
||||
|
||||
<beans xmlns:amq="http://activemq.org/config/1.0">
|
||||
<beans xmlns:amq="http://activemq.apache.org/schema/core">
|
||||
|
||||
<amq:broker brokerName="rapidBroker" start="false" persistent="true" useShutdownHook="false" deleteAllMessagesOnStartup="true" advisorySupport="false">
|
||||
|
||||
|
|
|
@ -83,7 +83,7 @@
|
|||
<executions>
|
||||
<execution>
|
||||
<configuration>
|
||||
<namespace>http://activemq.org/ra/1.0</namespace>
|
||||
<namespace>http://activemq.apache.org/schema/ra</namespace>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>mapping</goal>
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
limitations under the License.
|
||||
-->
|
||||
<!-- START SNIPPET: xbean -->
|
||||
<beans xmlns="http://activemq.org/config/1.0">
|
||||
<beans xmlns="http://activemq.apache.org/schema/core">
|
||||
|
||||
<broker useJmx="true">
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<beans>
|
||||
|
||||
|
||||
<broker useJmx="true" xmlns="http://activemq.org/config/1.0">
|
||||
<broker useJmx="true" xmlns="http://activemq.apache.org/schema/core">
|
||||
|
||||
<!-- In ActiveMQ 4, you can setup destination policies -->
|
||||
<destinationPolicy>
|
||||
|
@ -56,7 +56,7 @@
|
|||
</broker>
|
||||
|
||||
<!-- lets create a command agent to respond to admin commands over JMS or XMPP on the ActiveMQ.Agent topic -->
|
||||
<commandAgent xmlns="http://activemq.org/config/1.0"/>
|
||||
<commandAgent xmlns="http://activemq.apache.org/schema/core"/>
|
||||
|
||||
</beans>
|
||||
<!-- END SNIPPET: xbean -->
|
||||
|
|
|
@ -17,16 +17,16 @@
|
|||
<!-- START SNIPPET: example -->
|
||||
<beans
|
||||
xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:amq="http://activemq.org/config/1.0"
|
||||
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.org/config/1.0 http://activemq.apache.org/schema/core/activemq-core-VERSION.xsd
|
||||
http://activemq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core-VERSION.xsd
|
||||
http://activemq.apache.org/camel/schema/spring http://activemq.apache.org/camel/schema/spring/camel-spring.xsd">
|
||||
|
||||
<!-- Allows us to use system properties as variables in this configuration file -->
|
||||
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
|
||||
|
||||
<broker xmlns="http://activemq.org/config/1.0" brokerName="localhost" dataDirectory="${activemq.base}/data">
|
||||
<broker xmlns="http://activemq.apache.org/schema/core" brokerName="localhost" dataDirectory="${activemq.base}/data">
|
||||
|
||||
<!-- Destination specific policies using destination names or wildcards -->
|
||||
<destinationPolicy>
|
||||
|
@ -123,7 +123,7 @@
|
|||
|
||||
|
||||
<!-- lets create a command agent to respond to message based admin commands on the ActiveMQ.Agent topic -->
|
||||
<commandAgent xmlns="http://activemq.org/config/1.0" brokerUrl="vm://localhost"/>
|
||||
<commandAgent xmlns="http://activemq.apache.org/schema/core" brokerUrl="vm://localhost"/>
|
||||
|
||||
|
||||
<!-- An embedded servlet engine for serving up the Admin console -->
|
||||
|
|
|
@ -17,14 +17,14 @@
|
|||
<!-- START SNIPPET: xbean -->
|
||||
<beans
|
||||
xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:amq="http://activemq.org/config/1.0"
|
||||
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.org/config/1.0 http://activemq.apache.org/schema/core/activemq-core-VERSION.xsd
|
||||
http://activemq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core-VERSION.xsd
|
||||
http://activemq.apache.org/camel/schema/spring http://activemq.apache.org/camel/schema/spring/camel-spring.xsd">
|
||||
|
||||
|
||||
<broker xmlns="http://activemq.org/config/1.0" useJmx="false">
|
||||
<broker xmlns="http://activemq.apache.org/schema/core" useJmx="false">
|
||||
|
||||
<persistenceAdapter>
|
||||
<journaledJDBC journalLogFiles="5" dataDirectory="../data"/>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
<!-- START SNIPPET: xbean -->
|
||||
<beans>
|
||||
|
||||
<broker useJmx="false" brokerName="jdbcBroker" xmlns="http://activemq.org/config/1.0">
|
||||
<broker useJmx="false" brokerName="jdbcBroker" xmlns="http://activemq.apache.org/schema/core">
|
||||
<persistenceAdapter>
|
||||
<jdbcPersistenceAdapter dataSource="#derby-ds"/>
|
||||
</persistenceAdapter>
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
limitations under the License.
|
||||
-->
|
||||
|
||||
<beans xmlns:amq="http://activemq.org/config/1.0">
|
||||
<beans xmlns:amq="http://activemq.apache.org/schema/core">
|
||||
|
||||
<amq:broker brokerName="journaledMemBroker" start="false" persistent="false" useShutdownHook="false" deleteAllMessagesOnStartup="true" advisorySupport="false">
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<beans>
|
||||
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
|
||||
|
||||
<broker brokerName="broker" persistent="false" useJmx="false" xmlns="http://activemq.org/config/1.0">
|
||||
<broker brokerName="broker" persistent="false" useJmx="false" xmlns="http://activemq.apache.org/schema/core">
|
||||
<transportConnectors>
|
||||
<transportConnector uri="tcp://localhost:61616"/>
|
||||
</transportConnectors>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
<!-- START SNIPPET: xbean -->
|
||||
<beans>
|
||||
|
||||
<broker useJmx="false" brokerName="memoryBroker" xmlns="http://activemq.org/config/1.0">
|
||||
<broker useJmx="false" brokerName="memoryBroker" xmlns="http://activemq.apache.org/schema/core">
|
||||
<persistenceAdapter>
|
||||
<memoryPersistenceAdapter/>
|
||||
</persistenceAdapter>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
<!-- START SNIPPET: example -->
|
||||
<beans>
|
||||
|
||||
<broker name="b1" persistent="false" useJmx="false" xmlns="http://activemq.org/config/1.0">
|
||||
<broker name="b1" persistent="false" useJmx="false" xmlns="http://activemq.apache.org/schema/core">
|
||||
<transportConnectors>
|
||||
<transportConnector uri="tcp://localhost:61001" discoveryUri="multicast://default"/>
|
||||
</transportConnectors>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
<!-- START SNIPPET: xbean -->
|
||||
<beans>
|
||||
|
||||
<broker useJmx="false" brokerName="quickJdbcBroker" xmlns="http://activemq.org/config/1.0">
|
||||
<broker useJmx="false" brokerName="quickJdbcBroker" xmlns="http://activemq.apache.org/schema/core">
|
||||
<persistenceAdapter>
|
||||
<journaledJDBC journalLogFiles="4"
|
||||
journalLogFileSize="32768"
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
limitations under the License.
|
||||
-->
|
||||
|
||||
<beans xmlns:amq="http://activemq.org/config/1.0">
|
||||
<beans xmlns:amq="http://activemq.apache.org/schema/core">
|
||||
|
||||
<amq:broker brokerName="quickMemBroker" start="false" persistent="false" useShutdownHook="false" deleteAllMessagesOnStartup="true" advisorySupport="false">
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
limitations under the License.
|
||||
-->
|
||||
|
||||
<beans xmlns:amq="http://activemq.org/config/1.0">
|
||||
<beans xmlns:amq="http://activemq.apache.org/schema/core">
|
||||
|
||||
<amq:broker brokerName="rapidBroker" start="false" persistent="true" useShutdownHook="false" deleteAllMessagesOnStartup="true" advisorySupport="false">
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
<!-- START SNIPPET: example -->
|
||||
<beans>
|
||||
|
||||
<broker brokerName="broker" persistent="false" useJmx="false" xmlns="http://activemq.org/config/1.0">
|
||||
<broker brokerName="broker" persistent="false" useJmx="false" xmlns="http://activemq.apache.org/schema/core">
|
||||
<transportConnectors>
|
||||
<transportConnector uri="tcp://localhost:62001"/>
|
||||
</transportConnectors>
|
||||
|
|
Loading…
Reference in New Issue