From f010effc15d322a952dac1fc3653e5533c0b4a18 Mon Sep 17 00:00:00 2001
From: 沈斌 <bluelazysb@hotmail.com>
Date: Wed, 25 Oct 2017 11:36:57 +0800
Subject: [PATCH] 配置文件排版

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

diff --git a/src/main/resources/rabbitmq.xml b/src/main/resources/rabbitmq.xml
index 46818cf..fafc954 100644
--- a/src/main/resources/rabbitmq.xml
+++ b/src/main/resources/rabbitmq.xml
@@ -5,6 +5,7 @@
        xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
     http://www.springframework.org/schema/rabbit http://www.springframework.org/schema/rabbit/spring-rabbit-1.0.xsd "
        default-autowire="byName">
+
     <!-- rabbitMQ������ -->
     <bean id="rabbitConnectionFactory" class="org.springframework.amqp.rabbit.connection.CachingConnectionFactory">
         <constructor-arg value="101.37.22.173"/>
@@ -13,6 +14,7 @@
         <property name="channelCacheSize" value="8"/>
         <property name="port" value="5672"/>
     </bean>
+
     <rabbit:admin connection-factory="rabbitConnectionFactory"/>
 
     <rabbit:queue  name="monitor" durable="false" exclusive="false" auto-delete="false"    />
@@ -20,6 +22,7 @@
     <!--<bean id="amqpMsgListener" class="com.moral.monitor.listener.MonitorListener"/>-->
 
     <bean id="amqpMsgListener" class="com.moral.monitor.listener.Listener"/>
+
     <rabbit:listener-container connection-factory="rabbitConnectionFactory" acknowledge="auto" >
         <rabbit:listener  queues="monitor"   ref="amqpMsgListener" />
     </rabbit:listener-container>
@@ -28,6 +31,5 @@
         <constructor-arg ref="rabbitConnectionFactory"></constructor-arg>
     </bean>
 
-    <rabbit:fanout-exchange name="exchange_alarm" durable="false"  xmlns="http://www.springframework.org/schema/rabbit">
-    </rabbit:fanout-exchange>
+    <rabbit:fanout-exchange name="exchange_alarm" durable="false"  xmlns="http://www.springframework.org/schema/rabbit"></rabbit:fanout-exchange>
 </beans>
\ No newline at end of file

--
Gitblit v1.8.0