Skip to content

Instantly share code, notes, and snippets.

@tristantarrant
Created March 5, 2019 13:01
Show Gist options
  • Select an option

  • Save tristantarrant/aae5611d8734f3d821b74f6287202254 to your computer and use it in GitHub Desktop.

Select an option

Save tristantarrant/aae5611d8734f3d821b74f6287202254 to your computer and use it in GitHub Desktop.
<infinispan>
<jgroups>
<!-- Use the "tcp" stack but replace the discovery -->
<stack name="tcpgossip" extends="tcp">
<MPING ispn:stack.combine="REMOVE" xmlns="urn:org:jgroups"/>
<TCPGOSSIP initial_hosts="${jgroups.tunnel.gossip_router_hosts:localhost[12001]}" ispn:stack.combine="INSERT_AFTER" ispn:stack.position="TCP" xmlns="urn:org:jgroups"/>
</stack>
</jgroups>
<cache-container name="clustered">
<!-- Use the stack -->
<transport cluster="cluster" stack="tcpgossip"/>
...
</cache-container>
</infinispan>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment