Can the the discovery groups and broadcast groups specified in the hornet xml configuration be joined by an external client?
The provided standalone-full-ha.xml file has the following:
<broadcast-groups>
<broadcast-group name="bg-group1">
<socket-binding>messaging-group</socket-binding>
<broadcast-period>5000</broadcast-period>
<connector-ref>
netty
</connector-ref>
</broadcast-group>
</broadcast-groups>
<discovery-groups>
<discovery-group name="dg-group1">
<socket-binding>messaging-group</socket-binding>
<refresh-timeout>10000</refresh-timeout>
</discovery-group>
</discovery-groups>
I have tried to connect to these two groups with a separate application. I've created a 'udp.xml' with the binding address and port identical to the 'messaging-group' socket-binding element in the standalone-full-ha.xml.
It appears to work at first, but I consistently get the following message:
Aug 19, 2014 2:41:30 PM org.jgroups.logging.JDKLogImpl warn
WARNING: JGRP000010: packet from xxx.xxx.xxx.xxx:xxxxx has different version (0.0.0) than ours (3.4.4); packet is discarded. Is it impossible to connect to them externally?
Are you talking about leveraging UDP discovery from a HornetQ client? If so, we ship examples of this (e.g. "symmetric-cluster"). If not, please elaborate on what you're trying to accomplish.