# config-server-demo02-core **Repository Path**: constfafa/config-server-demo02-core ## Basic Information - **Project Name**: config-server-demo02-core - **Description**: spring cloud实现热更新功能 调用服务core示例 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2018-06-04 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 1. 添加依赖 compile('org.springframework.boot:spring-boot-starter-amqp') compile('org.springframework.cloud:spring-cloud-bus') compile('org.springframework.cloud:spring-cloud-stream-binder-rabbit') 2. 使用@RefreshScope 约定:当使用@Value注解读取配置文件时,要在该bean的class上添加@RefreshScope注解