Hi Deepika,
Using multicast, you can have a kind of auto-discover of new ActiveMQ
nodes. So the scalability is easy and dynamic.
The problem is that, in a lot of companies, the multicast is not allowed
on networks (firewall and security policy).
In that case, you need to "staticly" define the list of ActiveMQ nodes.
Regards
JB
Deepika wrote:
Hi All,
I am using SMX 3.3.1 on Windows XP. In conf\activemq.xml, there are two
options to set-up clustering between different servicemix instances or
brokers. Using the uri="multicast://default" or
uri="static://(tcp://host1:61616,tcp://host2:61616)" in the
<amq:networkConnectors> tag.
Any known pros/cons on these options?(static Vs multicast)
Which option is recommended in production and why?
Thanks in advance,
Deepika