...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<!-- We use 0.0.0.0 per AMQ-2094 --> <amq:transportConnectors> <amq:transportConnector uri="tcp://localhost0.0.0.0:61616"/> </amq:transportConnectors> <amq:persistenceAdapter> <amq:journaledJDBCamqPersistenceAdapter journalLogFilesdirectory="5" dataDirectory="/file:<shared>/data/amq"/> </amq:persistenceAdapter> |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<amq:transportConnectors> <amq:transportConnector uri="tcp://localhost0.0.0.0:61616"/> </amq:transportConnectors> <amq:persistenceAdapter> <amq:journaledJDBCamqPersistenceAdapter journalLogFilesdirectory="5" dataDirectory="/file:<shared>/data/amq"/> </amq:persistenceAdapter> |
Info | |||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
|
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<!-- We are setting our brokerName to be unique for this container -->
<amq:broker id="broker" brokerName="host1_broker1" depends-on="jmxServer">
....
<networkConnectors>
<networkConnector name="host1_to_host2" uri="static://(tcp://host2:61616)"/>
<!-- Here's what it would like for a three container network -->
<!-- (Note its not necessary to list our own hostname in the uri list) -->
<!-- networkConnector name="host1_to_host2_host3" uri="static://(tcp://host2:61616,tcp://host3:61616)"/ -->
</networkConnectors>
</amq:broker>
|
Info | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
Edit the
|
...