Skip to content

Instantly share code, notes, and snippets.

@svacas
Created February 8, 2012 01:57
Show Gist options
  • Save svacas/1764318 to your computer and use it in GitHub Desktop.
Save svacas/1764318 to your computer and use it in GitHub Desktop.
spring 3.1 profiles
<?xml version="1.0" encoding="UTF-8"?>
<mule xmlns="http://www.mulesoft.org/schema/mule/core"...>
<spring:beans profile="prod">
<mule>
<jms:activemq-connector name="JmsConnector"
brokerURL="failover:(tcp://172.16.10.1:61616, tcp://172.16.10.2:61616)"/>
</mule>
</spring:beans>
<spring:beans profile="dev">
<mule>
<jms:activemq-connector name="JmsConnector"/>
</mule>
</spring:beans>
<flow name="service">
<jms:inbound-endpoint queue="input.queue"/>
<jms:outbound-endpoint queue="output.queue"/>
</flow>
</mule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment