{
"operation-name" : "add",
"description" : "Add an HA Policy to configure high availability for this ActiveMQ server.",
"request-properties" : {
"scale-down" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "Configure whether this server send its messages to another live server in the scale-down cluster when it is shutdown cleanly.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"stability" : "default"
},
"scale-down-cluster-name" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "Name of the cluster used to scale down.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"scale-down-commit-interval" : {
"type" : {
"TYPE_MODEL_VALUE" : "INT"
},
"description" : "The batch size for committing the messages being moved on scale down.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : -1,
"stability" : "default"
},
"scale-down-connectors" : {
"type" : {
"TYPE_MODEL_VALUE" : "LIST"
},
"description" : "List of connectors used to form the scale-down cluster.",
"expressions-allowed" : false,
"required" : false,
"nillable" : true,
"alternatives" : ["scale-down-discovery-group"],
"min-length" : 0,
"max-length" : 2147483647,
"stability" : "default",
"value-type" : {
"TYPE_MODEL_VALUE" : "STRING"
}
},
"scale-down-discovery-group" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "Name of the discovery group used to build the scale-down cluster",
"expressions-allowed" : false,
"required" : false,
"nillable" : true,
"alternatives" : ["scale-down-connectors"],
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"scale-down-group-name" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "Name of the group used to scale down.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
}
},
"reply-properties" : {},
"stability" : "default",
"read-only" : false,
"runtime-only" : false
}