2024年4月28日发(作者:)
1. 2. xmlns="/schema/beans" 3. xmlns:amq="/config/1.0" 4. xmlns:xsi="/2001/XMLSchema-instance" xsi:sc hemaLocation="/schema/beans http: ///schema/beans/ 5. /config/1.0 /sch ema/ 6. /camel/schema/spring> 7. 8. 9. 10. 11. 12. /data" useShutdownHook="false"> 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29. 30. 31. 32. 33. 34. 35. 36. 37. 38. 39. 40. 41. 42. 43. 44. 45. 46. > 47. 48. 49. 50. 51. 52. 53. 54. 55. 56. 57. 58. 59. 60. 61. 62. 63. 64.
Xml代码
1. 2. xmlns="/schema/beans" 3. xmlns:amq="/config/1.0" 4. xmlns:xsi="/2001/XMLSchema-instance" xsi:sche maLocation="/schema/beans /schema/beans/ 5. /config/1.0 /schem a/ 6. /camel/schema/spring> 7. 8. 9. 10. 11. ata" useShutdownHook="false"> 12. 13. 14. 15. 16. 17. 18. yLimit="10mb"> 19. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29. 30. 31. 32. 33. 34. 35. 36. 37. 38. 39. 40. 41. 42. 43. 44. 45. 46. 47. 48. 49. 50. 51. 52. 53. 54. 55. 56. 57.
注释
关于XML配置中元素的具体信息可以参考
/ 下面介绍本篇配
置使用的一些重要元素。
DispathPolicy
ActiveMQ支持3中不同的分发策略(避免翻译了以后误解,这里用原文):
1.
message to every subscription that matches the message.
2.
to every subscription that matches the message.
3.
subscription to see messages in the same order.
SubscriptionRecoveryPolicy
ActiveMQ支持6种恢复策略,可以自行选择使用不同的策略
1.
last messages.
2.
memory available in RAM for message history which is evicted in time
order.
3.
4.
5.
query mechanism to load any messages they may have missed.
6.
around in memory and use that to recover new subscriptions.
发布评论