he.dujuan 3 gadi atpakaļ
vecāks
revīzija
b5ba505a0c

+ 1 - 1
eladmin-system/src/main/java/me/zhengjie/config/rabbitmq/test/ListenerTemplate.java

@@ -42,7 +42,7 @@ public class ListenerTemplate {
 //    @Autowired
 //    DmOrderPaymentService dmOrderPaymentService;
 
-//    @RabbitListener(queues = CuisineProduce.NAME, containerFactory = CuisineProduce.LISTENER)
+    @RabbitListener(queues = CuisineProduce.NAME, containerFactory = CuisineProduce.LISTENER)
     public void dealDeclareMessage(Message message) throws UnsupportedEncodingException {
         String str = new String(message.getBody(),"utf-8");
         System.out.println("receivePc:"+str);