Edit D:\rfid\apache-tomcat-8.5.32\webapps\libsystem\WEB-INF\classes\spring-rabbitmq.xml
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:rabbit="http://www.springframework.org/schema/rabbit" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.springframework.org/schema/rabbit http://www.springframework.org/schema/rabbit/spring-rabbit-1.0.xsd" > <rabbit:connection-factory id="connectionFactory" username="admin" password="admin1" host="10.0.0.67" port="5672" virtual-host="test" /> <!-- ???rabbit template ???????????????? --> <rabbit:template id="amqTemplate" connection-factory="connectionFactory" exchange="messageExchange"></rabbit:template> <!-- ???????????dmin????????roductor???exchange??ueue???rabbitmq???????????? --> <rabbit:admin connection-factory="connectionFactory" /> <!--???queue ?????urable:???????? exclusive: ????????????????????????????????? auto_delete: ?????????????????????????????????--> <rabbit:queue name="elibrary.tjth" durable="true" auto-delete="false" exclusive="false" /> <rabbit:queue name="elibrary.circulation" durable="true" auto-delete="false" exclusive="false" /> <!--topic ??????????????????routing key????????????????????????????????????????? --> <rabbit:topic-exchange name="messageExchange" id="messageExchange" durable="true" auto-delete="false"> <rabbit:bindings> <!-- ??????????? ??????????????????????? pattern="*.*.test1" --> <rabbit:binding queue="elibrary.tjth" pattern="elibrary.*"></rabbit:binding> <rabbit:binding queue="elibrary.circulation" pattern="elibrary.circulation.*"></rabbit:binding> </rabbit:bindings> </rabbit:topic-exchange> </beans>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de