Commit 757cf29d authored by yanzg's avatar yanzg

消息队列

parent e929d258
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent> <parent>
<artifactId>yzg-util-cloud</artifactId> <artifactId>yzg-util</artifactId>
<groupId>com.yanzuoguang</groupId> <groupId>com.yanzuoguang</groupId>
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
</parent> </parent>
......
...@@ -8,7 +8,6 @@ import com.yanzuoguang.util.thread.ThreadHelper; ...@@ -8,7 +8,6 @@ import com.yanzuoguang.util.thread.ThreadHelper;
import com.yanzuoguang.util.thread.ThreadNext; import com.yanzuoguang.util.thread.ThreadNext;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value; import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import java.util.List; import java.util.List;
...@@ -17,7 +16,6 @@ import java.util.List; ...@@ -17,7 +16,6 @@ import java.util.List;
* 消息队列初始化服务,用于重启时,初始化消息队列对象 * 消息队列初始化服务,用于重启时,初始化消息队列对象
*/ */
@Component @Component
@RefreshScope
public class MessageInitPlan implements ThreadNext.Next, Runnable { public class MessageInitPlan implements ThreadNext.Next, Runnable {
@Autowired @Autowired
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment