| Package | Description |
|---|---|
| org.wildfly.swarm.config.messaging_activemq.server | |
| org.wildfly.swarm.config.messaging_activemq.server.ha_policy.replication_colocated |
| Modifier and Type | Method and Description |
|---|---|
SlaveConfiguration |
ReplicationColocatedHaPolicy.slaveConfiguration()
A messaging resource that allows you to configure High Availability for the ActiveMQ server (the value of ha-policy can be live-only, replication-master, replication-slave, or replication-colocated).
|
| Modifier and Type | Method and Description |
|---|---|
ReplicationColocatedHaPolicy |
ReplicationColocatedHaPolicy.slaveConfiguration(SlaveConfiguration value)
A messaging resource that allows you to configure High Availability for the ActiveMQ server (the value of ha-policy can be live-only, replication-master, replication-slave, or replication-colocated).
|
| Modifier and Type | Method and Description |
|---|---|
SlaveConfiguration |
SlaveConfiguration.allowFailback(Boolean value)
Whether a server will automatically stop when a another places a request to take over its place.
|
SlaveConfiguration |
SlaveConfiguration.clusterName(String value)
Name of the cluster used for replication.
|
SlaveConfiguration |
SlaveConfiguration.failbackDelay(Long value)
delay to wait before failback occurs on (live's) restart
|
SlaveConfiguration |
SlaveConfiguration.groupName(String value)
If set, backup servers will only pair with live servers with matching group-name.
|
SlaveConfiguration |
SlaveConfiguration.maxSavedReplicatedJournalSize(Integer value)
This specifies how many times a replicated backup server can restart after moving its files on start.
|
SlaveConfiguration |
SlaveConfiguration.restartBackup(Boolean value)
Will this server, if a backup, restart once it has been stopped because of failback or scaling down.
|
SlaveConfiguration |
SlaveConfiguration.scaleDown(Boolean value)
Configure whether this server send its messages to another live server in the scale-down cluster when it is shutdown cleanly.
|
SlaveConfiguration |
SlaveConfiguration.scaleDownClusterName(String value)
Name of the cluster used to scale down.
|
SlaveConfiguration |
SlaveConfiguration.scaleDownConnectors(List<String> value)
List of connectors used to form the scale-down cluster.
|
SlaveConfiguration |
SlaveConfiguration.scaleDownDiscoveryGroup(String value)
Name of the discovery group used to build the scale-down cluster
|
SlaveConfiguration |
SlaveConfiguration.scaleDownGroupName(String value)
Name of the group used to scale down.
|
Copyright © 2015 JBoss by Red Hat. All rights reserved.