From 15c85cdf12cc7dfc4bac01a66c764ec58c48a465 Mon Sep 17 00:00:00 2001
From: 沈斌 <bluelazysb@hotmail.com>
Date: Tue, 07 Nov 2017 15:58:10 +0800
Subject: [PATCH] test

---
 src/main/resources/spring/rabbitmq.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/spring/rabbitmq.xml b/src/main/resources/spring/rabbitmq.xml
index b5e0239..55fe160 100644
--- a/src/main/resources/spring/rabbitmq.xml
+++ b/src/main/resources/spring/rabbitmq.xml
@@ -10,7 +10,7 @@
     <bean id="rabbitConnectionFactory" class="org.springframework.amqp.rabbit.connection.CachingConnectionFactory">
         <constructor-arg value="116.62.12.115"/>
         <property name="username" value="guest"/>
-        <property name="password" value="guest"/>
+        <property name="password" value="guest_pass"/>
         <property name="channelCacheSize" value="8"/>
         <property name="port" value="5672"/>
     </bean>
@@ -31,7 +31,7 @@
 
     <bean id="amqpMsgListener" class="com.moral.monitor.listener.TaskListener"/>
 
-    <rabbit:listener-container connection-factory="rabbitConnectionFactory" acknowledge="auto" >
+    <rabbit:listener-container connection-factory="rabbitConnectionFactory" acknowledge="auto" concurrency="10">
         <rabbit:listener  queues="devices_storage_data" ref="amqpMsgListener" />
     </rabbit:listener-container>
 

--
Gitblit v1.8.0