Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?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.xsd
- http://www.springframework.org/schema/rabbit http://www.springframework.org/schema/rabbit/spring-rabbit-1.5.xsd">
- <rabbit:connection-factory id="rabbit-mq-connection-factory" host="localhost" username="admin" password="xxxxxx" />
- <rabbit:template id="amqpTemplate" connection-factory="rabbit-mq-connection-factory"/>
- <rabbit:admin connection-factory="rabbit-mq-connection-factory" />
- <rabbit:queue name="myqueue"/>
- </beans>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement