KEYCLOAK-5908 Fix relay configuration

This commit is contained in:
Hynek Mlnarik 2017-11-29 22:22:35 +01:00
parent 0bd2e63162
commit 9cae8b79e4
2 changed files with 2 additions and 1 deletions

View file

@ -76,6 +76,7 @@
<relay site="{$local.site}">
<remote-site name="{$remote.site}" channel="xsite"/>
<property name="relay_multicasts">false</property>
</relay>
</xsl:copy>
</xsl:template>

View file

@ -7,7 +7,7 @@ cd /subsystem=datagrid-jgroups
./channel=xsite:add(stack=tcp-private)
# 2.b)
./stack=udp/relay=RELAY:add(site="%LOCAL_SITE%")
./stack=udp/relay=RELAY:add(site="%LOCAL_SITE%", properties={relay_multicasts=false})
./stack=udp/relay=RELAY/remote-site=%REMOTE_SITE%:add(channel=xsite)