更改Wildfly中的默认多播地址

时间:2016-10-06 20:22:45

标签: jboss7.x wildfly wildfly-8

如文档中所述:Controlling the Default Multicast Address with -u。我从Wildfly服务器更改了默认的多播地址:

standalone.bat -u=230.12.345.67

将其放在配置文件standalone.xml中。我将其添加到系统属性:

<system-properties>
    <property name="jboss.default.multicast.address" value="230.12.345.67"/>
</system-properties>

socket-binding-group应该选择哪个:

    <socket-binding-group name="standard-sockets" default-interface="public" port-offset="${jboss.socket.binding.port-offset:0}">
...
        <socket-binding name="jgroups-mping" port="0" multicast-address="${jboss.default.multicast.address:230.0.0.4}" multicast-port="45700"/>
        <socket-binding name="jgroups-udp" port="55200" multicast-address="${jboss.default.multicast.address:230.0.0.4}" multicast-port="45688"/>

但是,它似乎被忽略,默认为230.0.0.4。

0 个答案:

没有答案