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