Advertisement
Guest User

Untitled

a guest
Apr 12th, 2016
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <beans xmlns="http://www.springframework.org/schema/beans"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xmlns:rabbit="http://www.springframework.org/schema/rabbit"
  5. xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
  6. http://www.springframework.org/schema/rabbit http://www.springframework.org/schema/rabbit/spring-rabbit-1.5.xsd">
  7.  
  8. <rabbit:connection-factory id="rabbit-mq-connection-factory" host="localhost" username="admin" password="xxxxxx" />
  9.  
  10. <rabbit:template id="amqpTemplate" connection-factory="rabbit-mq-connection-factory"/>
  11.  
  12. <rabbit:admin connection-factory="rabbit-mq-connection-factory" />
  13.  
  14. <rabbit:queue name="myqueue"/>
  15.  
  16. </beans>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement