上一页 1 ··· 4 5 6 7 8 9 10 11 12 13 下一页
摘要: 阅读全文
posted @ 2021-12-05 21:34 yydssc 阅读(37) 评论(0) 推荐(0)
摘要: Broker-Cluster 部署 机器列表 192.168.100.242 192.168.100.243 为了保证机器之间网络互通,建议关闭防火墙:systemctl stop firewalld.service Static静态集群部署方式 static 方式就是在broker的配置中,静态指 阅读全文
posted @ 2021-12-05 20:21 yydssc 阅读(132) 评论(0) 推荐(0)
摘要: 目录 数据库共享方案1、 使用数据库进行消息持久化1.1、引入数据库驱动包和数据库连接池1.2、修改activemq.xml,使用jdbc持久化2、集群配置 3、客户端使用 http://activemq.apache.org/failover-transport-reference.html4、原 阅读全文
posted @ 2021-12-05 20:19 yydssc 阅读(294) 评论(0) 推荐(0)
摘要: 演示环境: Centos7、jdk8、activemq5.15.8下载地址: http://activemq.apache.org/activemq-5158-release.html解压: ```tar -zxvf apache-activemq-5.15.8-bin.tar.gz -C /var 阅读全文
posted @ 2021-12-05 19:05 yydssc 阅读(102) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-12-04 20:53 yydssc 阅读(40) 评论(0) 推荐(0)
摘要: package com.study.forkjoin;import java.util.ArrayList;import java.util.List;import java.util.concurrent.*;public class Demo2_ExecuteTasks { /* 思考:现在有很 阅读全文
posted @ 2021-12-04 20:49 yydssc 阅读(17) 评论(0) 推荐(0)
摘要: package com.study.forkjoin;import java.util.ArrayList;import java.util.List;import java.util.concurrent.ExecutionException;import java.util.concurrent 阅读全文
posted @ 2021-12-04 20:49 yydssc 阅读(33) 评论(0) 推荐(0)
摘要: package com.study.futuretask;import java.util.concurrent.Callable;import java.util.concurrent.LinkedBlockingQueue;import java.util.concurrent.atomic.A 阅读全文
posted @ 2021-12-04 20:46 yydssc 阅读(55) 评论(0) 推荐(0)
摘要: package com.study.concurrent_utils;import java.util.concurrent.locks.Condition;import java.util.concurrent.locks.ReentrantLock;public class JamesCycli 阅读全文
posted @ 2021-11-30 22:04 yydssc 阅读(50) 评论(0) 推荐(0)
摘要: package com.study.concurrent_utils;import java.util.concurrent.locks.AbstractQueuedSynchronizer;public class JamesSemaphore { private Sync sync; publi 阅读全文
posted @ 2021-11-30 22:02 yydssc 阅读(49) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 13 下一页