Class DiscoveryGroupConfiguration

java.lang.Object
org.apache.activemq.artemis.api.core.DiscoveryGroupConfiguration
All Implemented Interfaces:
Serializable

public final class DiscoveryGroupConfiguration extends Object implements Serializable
This file represents how we are using Discovery.

The discovery configuration could either use plain UDP or JGroups.

If using UDP, all the UDP properties will be filled and the jgroups properties will be null.

If using JGroups, all the UDP properties will be -1 or null and the jgroups properties will be filled.

If by any reason, both properties are filled, the JGroups takes precedence. That means, if jgroupsFile != null then the Grouping method used will be JGroups.

See Also: