mirror of https://github.com/apache/activemq.git
enabled the command agent so you can communicate with the broker agent via JMS or XMPP or Stomp
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@475316 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bc7d758fa0
commit
1c89c92217
|
@ -14,9 +14,10 @@
|
|||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<!-- START SNIPPET: xbean -->
|
||||
<!-- START SNIPPET: xbean -->
|
||||
<beans>
|
||||
|
||||
|
||||
<broker useJmx="true" xmlns="http://activemq.org/config/1.0">
|
||||
|
||||
<!-- Use the following to set the broker memory limit (in bytes)
|
||||
|
@ -25,33 +26,24 @@
|
|||
</memoryManager>
|
||||
-->
|
||||
|
||||
<!-- Use the following to configure how ActiveMQ is exposed in JMX
|
||||
<managementContext>
|
||||
<managementContext connectorPort="1099" jmxDomainName="org.apache.activemq"/>
|
||||
</managementContext>
|
||||
-->
|
||||
|
||||
<!-- In ActiveMQ 4, you can setup destination policies -->
|
||||
<destinationPolicy>
|
||||
<policyMap><policyEntries>
|
||||
<policyMap>
|
||||
<policyEntries>
|
||||
|
||||
<policyEntry topic="FOO.>">
|
||||
<dispatchPolicy>
|
||||
<strictOrderDispatchPolicy />
|
||||
<strictOrderDispatchPolicy/>
|
||||
</dispatchPolicy>
|
||||
<subscriptionRecoveryPolicy>
|
||||
<lastImageSubscriptionRecoveryPolicy />
|
||||
<lastImageSubscriptionRecoveryPolicy/>
|
||||
</subscriptionRecoveryPolicy>
|
||||
</policyEntry>
|
||||
|
||||
</policyEntries></policyMap>
|
||||
</policyEntries>
|
||||
</policyMap>
|
||||
</destinationPolicy>
|
||||
|
||||
<!--
|
||||
<managementContext>
|
||||
<managementContext findTigerMbeanServer="true"/>
|
||||
</managementContext>
|
||||
-->
|
||||
|
||||
<persistenceAdapter>
|
||||
<journaledJDBC journalLogFiles="5" dataDirectory="activemq-data"/>
|
||||
|
@ -77,6 +69,10 @@
|
|||
|
||||
</broker>
|
||||
|
||||
<!-- lets create a command agent to respond to admin commands over JMS or XMPP -->
|
||||
<commandAgent xmlns="http://activemq.org/config/1.0"/>
|
||||
|
||||
|
||||
<!-- This xbean configuration file supports all the standard spring xml configuration options -->
|
||||
|
||||
<!-- Postgres DataSource Sample Setup -->
|
||||
|
@ -113,4 +109,4 @@
|
|||
-->
|
||||
|
||||
</beans>
|
||||
<!-- END SNIPPET: xbean -->
|
||||
<!-- END SNIPPET: xbean -->
|
||||
|
|
Loading…
Reference in New Issue