-
1. Re: Auto discovery of HornetQ server by Client
balrajk Sep 28, 2010 4:42 AM (in response to balrajk)ra.xml file needs to configured along with the other configurations mentioned in the documentation.
multicast details need to be mentioned in this file.
<config-property>
<description>The discovery group address</description><!-- This property needs to be updated. since this method is not available in code -->
<!--<config-property-name>DiscoveryGroupAddress</config-property-name>-->
<config-property-name>DiscoveryAddress</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>Multicast Address</config-property-value>
</config-property>
<config-property>
<description>The discovery group port</description><!-- This property needs to be updated. since this method is not available in code -->
<!--<config-property-name>DiscoveryGroupPort</config-property-name>-->
<config-property-name>DiscoveryPort</config-property-name>
<config-property-type>java.lang.Integer</config-property-type>
<config-property-value>9876</config-property-value>
</config-property>
<config-property>
<description>The discovery refresh timeout</description>
<config-property-name>DiscoveryRefreshTimeout</config-property-name>
<config-property-type>java.lang.Long</config-property-type>
<config-property-value>2000</config-property-value>
</config-property>ra.xml is available in the hornetq-ra.rar/meta-inf folder
-
2. Re: Auto discovery of HornetQ server by Client
timfox Sep 28, 2010 4:48 AM (in response to balrajk)1 of 1 people found this helpfulYes, this is explained in the use manual http://hornetq.sourceforge.net/docs/hornetq-2.1.2.Final/user-manual/en/html/appserver-integration.html#d0e7966
-
3. Re: Auto discovery of HornetQ server by Client
balrajk Sep 29, 2010 8:57 AM (in response to timfox)Thanks Tim,
Actually the documentation doesn't specify about mentioning the multicast address for auto-discovery.