Skip to content

Commit

Permalink
add another broker to the test, so we can visualize networks
Browse files Browse the repository at this point in the history
  • Loading branch information
dejanb committed Dec 21, 2012
1 parent 9e0984d commit 01f1c92
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion hawtio-web/src/test/resources/applicationContext.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,24 @@
http://activemq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core.xsd">

<!-- This creates an embedded ActiveMQ Broker -->
<broker xmlns="http://activemq.apache.org/schema/core" useJmx="true" persistent="false">
<broker xmlns="http://activemq.apache.org/schema/core" brokerName="broker1" useJmx="true" persistent="false">
<networkConnectors>
<networkConnector uri="static:(tcp://localhost:61617)"/>
</networkConnectors>
<transportConnectors>
<transportConnector uri="tcp://localhost:61616"/>
</transportConnectors>
</broker>

<broker xmlns="http://activemq.apache.org/schema/core" brokerName="broker2" useJmx="true" persistent="false">
<networkConnectors>
<networkConnector uri="static:(tcp://localhost:61616)"/>
</networkConnectors>
<transportConnectors>
<transportConnector uri="tcp://localhost:61617"/>
</transportConnectors>
</broker>

<!-- Lets connect the Camel ActiveMQ component to the embedded broker.
See http://camel.apache.org/activemq.html for more information.
-->
Expand Down

0 comments on commit 01f1c92

Please sign in to comment.