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