Created
July 8, 2015 19:09
-
-
Save zaccari/d0d407ab9795a6eb4af3 to your computer and use it in GitHub Desktop.
TorqueBox Cluster Configuration with a Local Queue and Message Processor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- previous lines omitted --> | |
<cluster-connections> | |
<cluster-connection name='my-cluster-topics'> | |
<address>jms.topic</address> | |
<connector-ref>netty</connector-ref> | |
<discovery-group-ref discovery-group-name='dg-group1'/> | |
<retry-interval>500</retry-interval> | |
<retry-interval-multiplier>1.5</retry-interval-multiplier> | |
<max-retry-interval>4000</max-retry-interval> | |
<reconnect-attempts>-1</reconnect-attempts> | |
<max-hops>1</max-hops> | |
</cluster-connection> | |
<cluster-connection name='my-cluster-queues'> | |
<address>jms.queue./queues</address> | |
<connector-ref>netty</connector-ref> | |
<discovery-group-ref discovery-group-name='dg-group1'/> | |
<retry-interval>500</retry-interval> | |
<retry-interval-multiplier>1.5</retry-interval-multiplier> | |
<max-retry-interval>4000</max-retry-interval> | |
<reconnect-attempts>-1</reconnect-attempts> | |
<max-hops>1</max-hops> | |
</cluster-connection> | |
<cluster-connection name='my-local-queues'> | |
<address>jms.queue./local_queues</address> | |
<connector-ref>netty</connector-ref> | |
<discovery-group-ref discovery-group-name='dg-group1'/> | |
<retry-interval>500</retry-interval> | |
<retry-interval-multiplier>1.5</retry-interval-multiplier> | |
<max-retry-interval>4000</max-retry-interval> | |
<reconnect-attempts>-1</reconnect-attempts> | |
<max-hops>0</max-hops> | |
</cluster-connection> | |
</cluster-connections> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# previous lines omitted | |
queues: | |
/local_queues/events: | |
/queues/reports: | |
messaging: | |
/local_queues/events: | |
EventProcessor: | |
/queues/reports: | |
ReportProcessor: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See here for details on the
address
attribute: http://docs.jboss.org/jbossmessaging/docs/usermanual-2.0.0.beta4/html/clusters.html#clusters.cluster-connections