Fixed the problems with the xsd and updated the distributed activemq.xml files so that they validate against it

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@649273 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Hiram R. Chirino 2008-04-17 21:06:26 +00:00
parent 9e3bb2fbaa
commit efef86d392
3 changed files with 186 additions and 182 deletions

View File

@ -177,7 +177,7 @@ destination or a hierarchical wildcard area of destinations.
<xs:sequence> <xs:sequence>
<xs:element name='adminACLs' minOccurs='0' maxOccurs='1'> <xs:element name='adminACLs' minOccurs='0' maxOccurs='1'>
<xs:complexType> <xs:complexType>
<xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any namespace='##other'/></xs:sequence> <xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any namespace='##other' minOccurs='0' maxOccurs='unbounded'/></xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name='destination' minOccurs='0' maxOccurs='1'> <xs:element name='destination' minOccurs='0' maxOccurs='1'>
@ -191,12 +191,12 @@ destination or a hierarchical wildcard area of destinations.
</xs:element> </xs:element>
<xs:element name='readACLs' minOccurs='0' maxOccurs='1'> <xs:element name='readACLs' minOccurs='0' maxOccurs='1'>
<xs:complexType> <xs:complexType>
<xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any namespace='##other'/></xs:sequence> <xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any minOccurs='0' maxOccurs='unbounded'/></xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name='writeACLs' minOccurs='0' maxOccurs='1'> <xs:element name='writeACLs' minOccurs='0' maxOccurs='1'>
<xs:complexType> <xs:complexType>
<xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any namespace='##other'/></xs:sequence> <xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any minOccurs='0' maxOccurs='unbounded'/></xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:any namespace='##other' minOccurs='0' maxOccurs='unbounded'/> <xs:any namespace='##other' minOccurs='0' maxOccurs='unbounded'/>
@ -245,7 +245,7 @@ for each operation.
]]></xs:documentation> ]]></xs:documentation>
</xs:annotation> </xs:annotation>
<xs:complexType> <xs:complexType>
<xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any namespace='##other'/></xs:sequence> <xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any minOccurs='0' maxOccurs='unbounded'/></xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name='defaultEntry' minOccurs='0' maxOccurs='1'> <xs:element name='defaultEntry' minOccurs='0' maxOccurs='1'>
@ -265,7 +265,7 @@ dependency injection framework such as Spring
]]></xs:documentation> ]]></xs:documentation>
</xs:annotation> </xs:annotation>
<xs:complexType> <xs:complexType>
<xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any namespace='##other'/></xs:sequence> <xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any minOccurs='0' maxOccurs='unbounded'/></xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name='tempDestinationAuthorizationEntry' minOccurs='0' maxOccurs='1'> <xs:element name='tempDestinationAuthorizationEntry' minOccurs='0' maxOccurs='1'>
@ -498,7 +498,7 @@ consume a given message
</xs:element> </xs:element>
<xs:element name='networkConnectorURIs' minOccurs='0' maxOccurs='1'> <xs:element name='networkConnectorURIs' minOccurs='0' maxOccurs='1'>
<xs:complexType> <xs:complexType>
<xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any namespace='##other'/></xs:sequence> <xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any minOccurs='0' maxOccurs='unbounded'/></xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name='networkConnectors' minOccurs='0' maxOccurs='1'> <xs:element name='networkConnectors' minOccurs='0' maxOccurs='1'>
@ -530,6 +530,7 @@ other brokers in a federated network
<xs:element ref='tns:journalPersistenceAdapter'/> <xs:element ref='tns:journalPersistenceAdapter'/>
<xs:element ref='tns:kahaPersistenceAdapter'/> <xs:element ref='tns:kahaPersistenceAdapter'/>
<xs:element ref='tns:memoryPersistenceAdapter'/> <xs:element ref='tns:memoryPersistenceAdapter'/>
<xs:element ref='tns:journaledJDBC'/>
<xs:any namespace='##other'/> <xs:any namespace='##other'/>
</xs:choice> </xs:choice>
</xs:complexType> </xs:complexType>
@ -587,7 +588,7 @@ other brokers in a federated network
]]></xs:documentation> ]]></xs:documentation>
</xs:annotation> </xs:annotation>
<xs:complexType> <xs:complexType>
<xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any namespace='##other'/></xs:sequence> <xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any minOccurs='0' maxOccurs='unbounded'/></xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name='regionBroker' minOccurs='0' maxOccurs='1'> <xs:element name='regionBroker' minOccurs='0' maxOccurs='1'>
@ -653,7 +654,7 @@ other brokers in a federated network
</xs:element> </xs:element>
<xs:element name='transportConnectorURIs' minOccurs='0' maxOccurs='1'> <xs:element name='transportConnectorURIs' minOccurs='0' maxOccurs='1'>
<xs:complexType> <xs:complexType>
<xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any namespace='##other'/></xs:sequence> <xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any minOccurs='0' maxOccurs='unbounded'/></xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name='transportConnectors' minOccurs='0' maxOccurs='1'> <xs:element name='transportConnectors' minOccurs='0' maxOccurs='1'>
@ -1032,7 +1033,7 @@ a single Transport could be communicating with multiple remote brokers
]]></xs:documentation> ]]></xs:documentation>
</xs:annotation> </xs:annotation>
<xs:complexType> <xs:complexType>
<xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any namespace='##other'/></xs:sequence> <xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any minOccurs='0' maxOccurs='unbounded'/></xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:any namespace='##other' minOccurs='0' maxOccurs='unbounded'/> <xs:any namespace='##other' minOccurs='0' maxOccurs='unbounded'/>
@ -1084,7 +1085,7 @@ queue with the same name).
]]></xs:documentation> ]]></xs:documentation>
</xs:annotation> </xs:annotation>
<xs:complexType> <xs:complexType>
<xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any namespace='##other'/></xs:sequence> <xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any minOccurs='0' maxOccurs='unbounded'/></xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:any namespace='##other' minOccurs='0' maxOccurs='unbounded'/> <xs:any namespace='##other' minOccurs='0' maxOccurs='unbounded'/>
@ -2863,7 +2864,7 @@ false so that messages actually reside long term in the JDBC database.
</xs:element> </xs:element>
<xs:element name='options' minOccurs='0' maxOccurs='1'> <xs:element name='options' minOccurs='0' maxOccurs='1'>
<xs:complexType> <xs:complexType>
<xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any namespace='##other'/></xs:sequence> <xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any minOccurs='0' maxOccurs='unbounded'/></xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name='queueSearchMatchingFormat' minOccurs='0' maxOccurs='1'> <xs:element name='queueSearchMatchingFormat' minOccurs='0' maxOccurs='1'>
@ -2944,22 +2945,22 @@ and ipService objectClasses as defined in RFC 2307.
</xs:element> </xs:element>
<xs:element name='durableDestinations' minOccurs='0' maxOccurs='1'> <xs:element name='durableDestinations' minOccurs='0' maxOccurs='1'>
<xs:complexType> <xs:complexType>
<xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any namespace='##other'/></xs:sequence> <xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any minOccurs='0' maxOccurs='unbounded'/></xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name='dynamicallyIncludedDestinations' minOccurs='0' maxOccurs='1'> <xs:element name='dynamicallyIncludedDestinations' minOccurs='0' maxOccurs='1'>
<xs:complexType> <xs:complexType>
<xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any namespace='##other'/></xs:sequence> <xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any minOccurs='0' maxOccurs='unbounded'/></xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name='excludedDestinations' minOccurs='0' maxOccurs='1'> <xs:element name='excludedDestinations' minOccurs='0' maxOccurs='1'>
<xs:complexType> <xs:complexType>
<xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any namespace='##other'/></xs:sequence> <xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any minOccurs='0' maxOccurs='unbounded'/></xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name='staticallyIncludedDestinations' minOccurs='0' maxOccurs='1'> <xs:element name='staticallyIncludedDestinations' minOccurs='0' maxOccurs='1'>
<xs:complexType> <xs:complexType>
<xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any namespace='##other'/></xs:sequence> <xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any minOccurs='0' maxOccurs='unbounded'/></xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:any namespace='##other' minOccurs='0' maxOccurs='unbounded'/> <xs:any namespace='##other' minOccurs='0' maxOccurs='unbounded'/>
@ -3383,17 +3384,17 @@ based transport could be used.
</xs:element> </xs:element>
<xs:element name='durableDestinations' minOccurs='0' maxOccurs='1'> <xs:element name='durableDestinations' minOccurs='0' maxOccurs='1'>
<xs:complexType> <xs:complexType>
<xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any namespace='##other'/></xs:sequence> <xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any minOccurs='0' maxOccurs='unbounded'/></xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name='dynamicallyIncludedDestinations' minOccurs='0' maxOccurs='1'> <xs:element name='dynamicallyIncludedDestinations' minOccurs='0' maxOccurs='1'>
<xs:complexType> <xs:complexType>
<xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any namespace='##other'/></xs:sequence> <xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any minOccurs='0' maxOccurs='unbounded'/></xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name='excludedDestinations' minOccurs='0' maxOccurs='1'> <xs:element name='excludedDestinations' minOccurs='0' maxOccurs='1'>
<xs:complexType> <xs:complexType>
<xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any namespace='##other'/></xs:sequence> <xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any minOccurs='0' maxOccurs='unbounded'/></xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name='localTransport' minOccurs='0' maxOccurs='1'> <xs:element name='localTransport' minOccurs='0' maxOccurs='1'>
@ -3413,7 +3414,7 @@ based transport could be used.
</xs:element> </xs:element>
<xs:element name='staticallyIncludedDestinations' minOccurs='0' maxOccurs='1'> <xs:element name='staticallyIncludedDestinations' minOccurs='0' maxOccurs='1'>
<xs:complexType> <xs:complexType>
<xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any namespace='##other'/></xs:sequence> <xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any minOccurs='0' maxOccurs='unbounded'/></xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:any namespace='##other' minOccurs='0' maxOccurs='unbounded'/> <xs:any namespace='##other' minOccurs='0' maxOccurs='unbounded'/>
@ -3546,22 +3547,22 @@ available and setup a connection to each available remote broker
</xs:element> </xs:element>
<xs:element name='durableDestinations' minOccurs='0' maxOccurs='1'> <xs:element name='durableDestinations' minOccurs='0' maxOccurs='1'>
<xs:complexType> <xs:complexType>
<xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any namespace='##other'/></xs:sequence> <xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any minOccurs='0' maxOccurs='unbounded'/></xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name='dynamicallyIncludedDestinations' minOccurs='0' maxOccurs='1'> <xs:element name='dynamicallyIncludedDestinations' minOccurs='0' maxOccurs='1'>
<xs:complexType> <xs:complexType>
<xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any namespace='##other'/></xs:sequence> <xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any minOccurs='0' maxOccurs='unbounded'/></xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name='excludedDestinations' minOccurs='0' maxOccurs='1'> <xs:element name='excludedDestinations' minOccurs='0' maxOccurs='1'>
<xs:complexType> <xs:complexType>
<xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any namespace='##other'/></xs:sequence> <xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any minOccurs='0' maxOccurs='unbounded'/></xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name='staticallyIncludedDestinations' minOccurs='0' maxOccurs='1'> <xs:element name='staticallyIncludedDestinations' minOccurs='0' maxOccurs='1'>
<xs:complexType> <xs:complexType>
<xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any namespace='##other'/></xs:sequence> <xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any minOccurs='0' maxOccurs='unbounded'/></xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:any namespace='##other' minOccurs='0' maxOccurs='unbounded'/> <xs:any namespace='##other' minOccurs='0' maxOccurs='unbounded'/>
@ -4110,7 +4111,7 @@ dependency injection framework such as Spring
]]></xs:documentation> ]]></xs:documentation>
</xs:annotation> </xs:annotation>
<xs:complexType> <xs:complexType>
<xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any namespace='##other'/></xs:sequence> <xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any minOccurs='0' maxOccurs='unbounded'/></xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name='policyEntries' minOccurs='0' maxOccurs='1'> <xs:element name='policyEntries' minOccurs='0' maxOccurs='1'>
@ -4120,7 +4121,7 @@ dependency injection framework such as Spring
]]></xs:documentation> ]]></xs:documentation>
</xs:annotation> </xs:annotation>
<xs:complexType> <xs:complexType>
<xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any namespace='##other'/></xs:sequence> <xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any minOccurs='0' maxOccurs='unbounded'/></xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:any namespace='##other' minOccurs='0' maxOccurs='unbounded'/> <xs:any namespace='##other' minOccurs='0' maxOccurs='unbounded'/>
@ -4402,7 +4403,7 @@ Set of groups
]]></xs:documentation> ]]></xs:documentation>
</xs:annotation> </xs:annotation>
<xs:complexType> <xs:complexType>
<xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any namespace='##other'/></xs:sequence> <xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any minOccurs='0' maxOccurs='unbounded'/></xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name='userPasswords' minOccurs='0' maxOccurs='1'> <xs:element name='userPasswords' minOccurs='0' maxOccurs='1'>
@ -4412,7 +4413,7 @@ Set of groups
]]></xs:documentation> ]]></xs:documentation>
</xs:annotation> </xs:annotation>
<xs:complexType> <xs:complexType>
<xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any namespace='##other'/></xs:sequence> <xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any minOccurs='0' maxOccurs='unbounded'/></xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name='users' minOccurs='0' maxOccurs='1'> <xs:element name='users' minOccurs='0' maxOccurs='1'>
@ -4422,7 +4423,7 @@ Set of groups
]]></xs:documentation> ]]></xs:documentation>
</xs:annotation> </xs:annotation>
<xs:complexType> <xs:complexType>
<xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any namespace='##other'/></xs:sequence> <xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any minOccurs='0' maxOccurs='unbounded'/></xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:any namespace='##other' minOccurs='0' maxOccurs='unbounded'/> <xs:any namespace='##other' minOccurs='0' maxOccurs='unbounded'/>
@ -4591,12 +4592,12 @@ matches the message.
<xs:sequence> <xs:sequence>
<xs:element name='createSchemaStatements' minOccurs='0' maxOccurs='1'> <xs:element name='createSchemaStatements' minOccurs='0' maxOccurs='1'>
<xs:complexType> <xs:complexType>
<xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any namespace='##other'/></xs:sequence> <xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any minOccurs='0' maxOccurs='unbounded'/></xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name='dropSchemaStatements' minOccurs='0' maxOccurs='1'> <xs:element name='dropSchemaStatements' minOccurs='0' maxOccurs='1'>
<xs:complexType> <xs:complexType>
<xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any namespace='##other'/></xs:sequence> <xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any minOccurs='0' maxOccurs='unbounded'/></xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:any namespace='##other' minOccurs='0' maxOccurs='unbounded'/> <xs:any namespace='##other' minOccurs='0' maxOccurs='unbounded'/>
@ -4889,7 +4890,7 @@ destination
<xs:sequence> <xs:sequence>
<xs:element name='adminACLs' minOccurs='0' maxOccurs='1'> <xs:element name='adminACLs' minOccurs='0' maxOccurs='1'>
<xs:complexType> <xs:complexType>
<xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any namespace='##other'/></xs:sequence> <xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any minOccurs='0' maxOccurs='unbounded'/></xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name='destination' minOccurs='0' maxOccurs='1'> <xs:element name='destination' minOccurs='0' maxOccurs='1'>
@ -4903,12 +4904,12 @@ destination
</xs:element> </xs:element>
<xs:element name='readACLs' minOccurs='0' maxOccurs='1'> <xs:element name='readACLs' minOccurs='0' maxOccurs='1'>
<xs:complexType> <xs:complexType>
<xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any namespace='##other'/></xs:sequence> <xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any minOccurs='0' maxOccurs='unbounded'/></xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name='writeACLs' minOccurs='0' maxOccurs='1'> <xs:element name='writeACLs' minOccurs='0' maxOccurs='1'>
<xs:complexType> <xs:complexType>
<xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any namespace='##other'/></xs:sequence> <xs:sequence minOccurs='0' maxOccurs='unbounded'><xs:any minOccurs='0' maxOccurs='unbounded'/></xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:any namespace='##other' minOccurs='0' maxOccurs='unbounded'/> <xs:any namespace='##other' minOccurs='0' maxOccurs='unbounded'/>

View File

@ -20,7 +20,7 @@
xmlns:amq="http://activemq.org/config/1.0" xmlns:amq="http://activemq.org/config/1.0"
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.org/config/1.0 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 -->
@ -32,8 +32,8 @@
<destinationPolicy> <destinationPolicy>
<policyMap> <policyMap>
<policyEntries> <policyEntries>
<policyEntry queue=">" memoryLimit="5mb"/>
<policyEntry topic="FOO.>" producerFlowControl="false" memoryLimit="1mb"> <policyEntry topic=">" memoryLimit="5mb">
<dispatchPolicy> <dispatchPolicy>
<strictOrderDispatchPolicy/> <strictOrderDispatchPolicy/>
</dispatchPolicy> </dispatchPolicy>
@ -41,34 +41,32 @@
<lastImageSubscriptionRecoveryPolicy/> <lastImageSubscriptionRecoveryPolicy/>
</subscriptionRecoveryPolicy> </subscriptionRecoveryPolicy>
</policyEntry> </policyEntry>
</policyEntries> </policyEntries>
</policyMap> </policyMap>
</destinationPolicy> </destinationPolicy>
<!-- Use the following to configure how ActiveMQ is exposed in JMX -->
<!-- The transport connectors ActiveMQ will listen to --> <managementContext>
<transportConnectors> <managementContext createConnector="false"/>
<transportConnector name="openwire" uri="tcp://localhost:61616" discoveryUri="multicast://default"/> </managementContext>
<transportConnector name="ssl" uri="ssl://localhost:61617"/>
<transportConnector name="stomp" uri="stomp://localhost:61613"/>
<transportConnector name="xmpp" uri="xmpp://localhost:61222"/>
</transportConnectors>
<!-- The store and forward broker networks ActiveMQ will listen to --> <!-- The store and forward broker networks ActiveMQ will listen to -->
<networkConnectors> <networkConnectors>
<!-- by default just auto discover the other brokers --> <!-- by default just auto discover the other brokers -->
<networkConnector name="default-nc" uri="multicast://default"/> <networkConnector name="default-nc" uri="multicast://default"/>
<!-- <!-- Example of a static configuration:
<networkConnector name="host1 and host2" uri="static://(tcp://host1:61616,tcp://host2:61616)"/> <networkConnector name="host1 and host2" uri="static://(tcp://host1:61616,tcp://host2:61616)"/>
--> -->
</networkConnectors> </networkConnectors>
<persistenceAdapter>
<amqPersistenceAdapter syncOnWrite="false" directory="${activemq.base}/activemq-data" maxFileLength="20 mb"/>
</persistenceAdapter>
<!-- Use the following if you wish to configure the journal with JDBC --> <!-- Use the following if you wish to configure the journal with JDBC -->
<!-- <!--
<persistenceAdapter> <persistenceAdapter>
<journaledJDBC journalLogFiles="5" dataDirectory="${activemq.base}/activemq-data" dataSource="#postgres-ds"/> <journaledJDBC dataDirectory="${activemq.base}/activemq-data" dataSource="#postgres-ds"/>
</persistenceAdapter> </persistenceAdapter>
--> -->
@ -79,27 +77,29 @@
</persistenceAdapter> </persistenceAdapter>
--> -->
<!-- Use the following to set the broker memory limit <!-- The maximum about of space the broker will use before slowing down producers -->
<systemUsage> <systemUsage>
<systemUsage> <systemUsage>
<memoryUsage> <memoryUsage>
<memoryUsage limit="10 mb" percentUsageMinDelta="20"/> <memoryUsage limit="20 mb"/>
</memoryUsage> </memoryUsage>
<tempUsage>
<tempUsage limit="100 mb"/>
</tempUsage>
<storeUsage> <storeUsage>
<storeUsage limit="1 gb" name="foo"/> <storeUsage limit="1 gb" name="foo"/>
</storeUsage> </storeUsage>
<tempUsage>
<tempUsage limit="100 mb"/>
</tempUsage>
</systemUsage> </systemUsage>
</systemUsage> </systemUsage>
-->
<!-- Use the following to configure how ActiveMQ is exposed in JMX
<managementContext> <!-- The transport connectors ActiveMQ will listen to -->
<managementContext connectorPort="1099" jmxDomainName="org.apache.activemq"/> <transportConnectors>
</managementContext> <transportConnector name="openwire" uri="tcp://localhost:61616" discoveryUri="multicast://default"/>
--> <transportConnector name="ssl" uri="ssl://localhost:61617"/>
<transportConnector name="stomp" uri="stomp://localhost:61613"/>
<transportConnector name="xmpp" uri="xmpp://localhost:61222"/>
</transportConnectors>
</broker> </broker>
@ -122,9 +122,8 @@
</camelContext> </camelContext>
<!-- 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"/> <commandAgent xmlns="http://activemq.org/config/1.0" brokerUrl="vm://localhost"/>
<!-- An embedded servlet engine for serving up the Admin console --> <!-- An embedded servlet engine for serving up the Admin console -->
@ -140,8 +139,6 @@
</handlers> </handlers>
</jetty> </jetty>
<!-- This xbean configuration file supports all the standard spring xml configuration options --> <!-- This xbean configuration file supports all the standard spring xml configuration options -->
<!-- Postgres DataSource Sample Setup --> <!-- Postgres DataSource Sample Setup -->

View File

@ -15,7 +15,14 @@
limitations under the License. limitations under the License.
--> -->
<!-- START SNIPPET: xbean --> <!-- START SNIPPET: xbean -->
<beans> <beans
xmlns="http://www.springframework.org/schema/beans"
xmlns:amq="http://activemq.org/config/1.0"
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/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.org/config/1.0" useJmx="false">
@ -25,7 +32,6 @@
<transportConnectors> <transportConnectors>
<transportConnector uri="tcp://localhost:61616"/> <transportConnector uri="tcp://localhost:61616"/>
<transportConnector uri="stomp://localhost:61613"/> <transportConnector uri="stomp://localhost:61613"/>
</transportConnectors> </transportConnectors>