| 
					
				 | 
			
			
				@@ -9,6 +9,7 @@ import com.tzld.longarticle.recommend.server.mq.MessageCallbackCustomer; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.springframework.beans.factory.annotation.Value; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.springframework.context.annotation.Bean; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.springframework.context.annotation.Configuration; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import org.springframework.context.annotation.DependsOn; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import javax.annotation.Resource; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import java.util.HashMap; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -51,6 +52,7 @@ public class MqConfig { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @Bean(initMethod = "start", destroyMethod = "shutdown") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @DependsOn("messageCallbackCustomer") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     public ConsumerBean buildConsumer() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         ConsumerBean consumerBean = new ConsumerBean(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         //配置文件 
			 |