Skip to content

Instantly share code, notes, and snippets.

@ghostflare76
Last active November 10, 2015 02:38
Show Gist options
  • Save ghostflare76/dfaacb4c54095c4af718 to your computer and use it in GitHub Desktop.
Save ghostflare76/dfaacb4c54095c4af718 to your computer and use it in GitHub Desktop.
<?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.xsd">
<rabbit:connection-factory id="connectionFactory" username="test" host="localhost" password="test" port="5672"/>
<rabbit:template id="amqpTemplate"
connection-factory="connectionFactory"
exchange="amq.topic"
routing-key="quakes.all"
channel-transacted="true"/>
<rabbit:admin connection-factory="connectionFactory"/>
<rabbit:topic-exchange name="amq.topic" />
</beans>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment