ActiveMq的配置文件详细说明[转]
来源:互联网 发布:全景云平台源码 编辑:程序博客网 时间:2024/04/29 18:25
注释
关于XML配置中元素的具体信息可以参考http://activemq.apache.org/xbean-xml-reference-50.html 下面介绍本篇配置使用的一些重要元素。
DispathPolicy
ActiveMQ支持3中不同的分发策略(避免翻译了以后误解,这里用原文):
- <roundRobinDispatchPolicy>:Simple dispatch policy that sends a message to every subscription that matches the message.
- <simpleDispatchPolicy>:Simple dispatch policy that sends a message to every subscription that matches the message.
- <strictOrderDispatchPolicy>:Dispatch policy that causes every subscription to see messages in the same order.
SubscriptionRecoveryPolicy
ActiveMQ支持6种恢复策略,可以自行选择使用不同的策略
- <fixedCountSubscriptionRecoveryPolicy>: keep a fixed count of last messages.
- <fixedSizedSubscriptionRecoveryPolicy>: keep a fixed amount of memory available in RAM for message history which is evicted in time order.
- <lastImageSubscriptionRecoveryPolicy>:only keep the last message.
- <noSubscriptionRecoveryPolicy>:disable recovery of messages.
- <queryBasedSubscriptionRecoveryPolicy>:perform a user specific query mechanism to load any messages they may have missed.
- <timedSubscriptionRecoveryPolicy>:keep a timed buffer of messages around in memory and use that to recover new subscriptions.
- ActiveMq的配置文件详细说明[转]
- Ehcache配置文件的详细说明
- spring配置文件的详细说明
- Archlinux的配置文件详细说明
- Ehcache配置文件的详细说明
- Ehcache配置文件的详细说明
- nginx的配置文件详细说明
- Ehcache配置文件的详细说明
- 内核的主要配置文件的详细说明
- 内核的主要配置文件的详细说明
- 内核的主要配置文件的详细说明
- redis配置文件redis.conf的详细说明
- redis配置文件redis.conf的详细说明
- Nginx配置文件详细说明 转载的
- redis配置文件redis.conf的详细说明
- redis的配置文件参数--详细说明
- samba的配置文件smb.conf详细说明
- redis配置文件redis.conf的详细说明
- struts ---bean 标签
- Android 淺探(二):系統架構
- linux设备驱动归纳总结
- MTK phonebook vCard 2.1 和vCard 3.0 有何不同?
- Android 文件系统移植总结
- ActiveMq的配置文件详细说明[转]
- Android 应用程序构成
- struts -----MessageResources
- 为launcher添加一个仿Mac的dock(附源码)
- MTK 如何获取手机的本机号码
- hello word!
- visual studio 2010 中的并行调试任务窗口无效
- Hibernate乐观锁实现——Version
- 关于重定义问题