Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Activemq data storage

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

1. JdbcPersistenceAdapter database storage

Note: where the red mark is marked, it is recommended to set it to true when starting for the first time. Three tables of activemq_msgs/activemq_lock/activemq_ acks will be generated automatically. At the same time, it should be noted that the table structure will be different with different activemq versions. After the table is generated, it must be set to false. Table. Table.

Note: the red mark is for different versions of dbcp. If it is version 1, then it is org.apache.commons.dbcp.BasicDataSource

For more parameter settings, please see: http://blog.csdn.net/fairyhawk/article/details/7565391

2. MemoryPersistenceAdapter memory storage

Or persistent=false.

3. KahaDB file storage

4. JournalPersistenceAdapter file storage

Applicable scenario: for cluster broker using JDBC message and log storage, can effectively avoid data loss.

5. MKahaDB file storage

6. ReplicatedLevelDB file storage

7. LevelDB file storage

Reference: https://blog.51cto.com/881206524/1927604

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report