RabbitMQ集群 Posted on 2020-09-03 Valine: Symbols count in article: 49 Reading time ≈ 1 mins. 集群模式 主备模式 远程模式 镜像模式 多活模式 镜像模式构建 HAproxy KeepAlived 配置 恢复 延迟
Spring自研框架笔记 Posted on 2020-08-26 Edited on 2020-09-10 Valine: Symbols count in article: 831 Reading time ≈ 1 mins. Ant PostProcessor Aware 123456789101112131415161718192021222324252627282930/** * @author xixing * @version 1.0 * @date 2020/8/30 17:22 */@Controllerpublic class WelcomeController implements ApplicationContextAware, BeanNameAware { private String myName; private ApplicationContext applicationContext; @Autowired private WelcomeService welcomeService; public void sayHello(){ welcomeService.sayHello("hello controller"); System.out.println("myName="+myName); String applicationName = applicationContext.getApplicationName(); System.out.println("applicationName="+applicationName); } @Override public void setBeanName(String name) { this.myName=name; } @Override public void setApplicationContext(ApplicationContext applicationContext) throws BeansException { this.applicationContext=applicationContext; }} 监听器 refresh doGetBean createBean 单例循环依赖 populateBean
Java注解 Posted on 2020-08-26 Valine: Symbols count in article: 37 Reading time ≈ 1 mins. 基本注解都是继承java.lang.Annocation 自定义注解 注解原理
RabbitMQ相关 Posted on 2020-08-20 Edited on 2020-08-23 Valine: Symbols count in article: 173 Reading time ≈ 1 mins. AMQP协议 RabbitMQ 安装docker pull rabbitmq:3.6-management docker run -d –name rabbitmq -p 5671:5671 -p 5672:5672 -p 4369:4369 -p 25672:25672 -p 15671:15671 -p 15672:15672 rabbitmq:management 基本操作 交换机 高级