From 79e1f0e504d593d864cb69a167fa28b6a42bf076 Mon Sep 17 00:00:00 2001
From: 沈斌 <bluelazysb@hotmail.com>
Date: Tue, 14 Nov 2017 21:39:50 +0800
Subject: [PATCH] test
---
src/main/resources/spring/rabbitmq.xml | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/main/resources/spring/rabbitmq.xml b/src/main/resources/spring/rabbitmq.xml
index ae1e021..3eefb5f 100644
--- a/src/main/resources/spring/rabbitmq.xml
+++ b/src/main/resources/spring/rabbitmq.xml
@@ -8,11 +8,11 @@
<!-- rabbitMQ������ -->
<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_pass"/>
- <property name="channelCacheSize" value="8"/>
- <property name="port" value="5672"/>
+ <constructor-arg value="${rabbitmq.host}"/>
+ <property name="username" value="${rabbitmq.username}"/>
+ <property name="password" value="${rabbitmq.password}"/>
+ <property name="channelCacheSize" value="${rabbitmq.channelCacheSize}"/>
+ <property name="port" value="${rabbitmq.port}"/>
</bean>
<rabbit:admin connection-factory="rabbitConnectionFactory"/>
@@ -27,7 +27,7 @@
</rabbit:bindings>
</rabbit:fanout-exchange>
- <rabbit:queue name="devices_storage_data" durable="false" auto-delete="true" exclusive="true"/>
+ <rabbit:queue name="devices_storage_data" durable="false" auto-delete="true" exclusive="false"/>
<bean id="amqpMsgListener" class="com.moral.monitor.listener.TaskListener"/>
--
Gitblit v1.8.0