此内容没有您所选择的语言版本。
20.3.3. Binding a Group of Sockets Example
The following is an example depicting the use of Groups interface socket bindings to bind a group, using the
socket-binding-group element:
<socket-binding-group name="ha-sockets" default-interface="global">
...
<socket-binding name="jgroups-tcp" port="7600"/>
<socket-binding name="jgroups-tcp-fd" port="57600"/>
...
</socket-binding-group>
The two sample socket bindings in the example are bound to the same
default-interface (global), therefore the interface attribute does not need to be specified.