{
"operation-name" : "add",
"description" : "Operation adding a cluster connection",
"request-properties" : {
"allow-direct-connections-only" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "Whether, if a node learns of the existence of a node that is more than 1 hop away, we do not create a bridge for direct cluster connection. Only relevant if 'static-connectors' is defined.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : false,
"requires" : ["static-connectors"],
"stability" : "default"
},
"call-failover-timeout" : {
"type" : {
"TYPE_MODEL_VALUE" : "LONG"
},
"description" : "The timeout to use when fail over is in process (in ms) for remote calls made by the cluster connection.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : -1,
"unit" : "MILLISECONDS",
"stability" : "default"
},
"call-timeout" : {
"type" : {
"TYPE_MODEL_VALUE" : "LONG"
},
"description" : "The timeout (in ms) for remote calls made by the cluster connection.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : 30000,
"unit" : "MILLISECONDS",
"stability" : "default"
},
"check-period" : {
"type" : {
"TYPE_MODEL_VALUE" : "LONG"
},
"description" : "The period (in milliseconds) between client failure check.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : 30000,
"unit" : "MILLISECONDS",
"stability" : "default"
},
"cluster-connection-address" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "Each cluster connection only applies to messages sent to an address that starts with this value.",
"expressions-allowed" : true,
"required" : true,
"nillable" : false,
"min-length" : 0,
"max-length" : 2147483647,
"stability" : "default"
},
"confirmation-window-size" : {
"type" : {
"TYPE_MODEL_VALUE" : "INT"
},
"description" : "The confirmation-window-size to use for the connection used to forward messages to a target node.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : 10485760,
"unit" : "BYTES",
"stability" : "default"
},
"connection-ttl" : {
"type" : {
"TYPE_MODEL_VALUE" : "LONG"
},
"description" : "The maximum time (in milliseconds) for which the connections used by the cluster connections are considered alive (in the absence of heartbeat).",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : 60000,
"unit" : "MILLISECONDS",
"stability" : "default"
},
"connector-name" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The name of connector to use for live connection",
"expressions-allowed" : false,
"required" : true,
"nillable" : false,
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"discovery-group" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The discovery group used to obtain the list of other servers in the cluster to which this cluster connection will make connections. Must be undefined (null) if 'static-connectors' is defined.",
"expressions-allowed" : false,
"required" : true,
"nillable" : true,
"alternatives" : ["static-connectors"],
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"initial-connect-attempts" : {
"type" : {
"TYPE_MODEL_VALUE" : "INT"
},
"description" : "The number of attempts to connect initially with this cluster connection.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : -1,
"stability" : "default"
},
"max-hops" : {
"type" : {
"TYPE_MODEL_VALUE" : "INT"
},
"description" : "The maximum number of times a message can be forwarded. ActiveMQ can be configured to also load balance messages to nodes which might be connected to it only indirectly with other ActiveMQ servers as intermediates in a chain.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : 1,
"stability" : "default"
},
"max-retry-interval" : {
"type" : {
"TYPE_MODEL_VALUE" : "LONG"
},
"description" : "The maximum interval of time used to retry connections",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : 2000,
"unit" : "MILLISECONDS",
"stability" : "default"
},
"message-load-balancing-type" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The type of message load balancing provided by the cluster connection.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : "ON_DEMAND",
"allowed" : [
"OFF",
"STRICT",
"ON_DEMAND"
],
"stability" : "default"
},
"min-large-message-size" : {
"type" : {
"TYPE_MODEL_VALUE" : "INT"
},
"description" : "The minimum size (in bytes) for a message before it is considered as a large message.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : 102400,
"unit" : "BYTES",
"stability" : "default"
},
"notification-attempts" : {
"type" : {
"TYPE_MODEL_VALUE" : "INT"
},
"description" : "How many times the cluster connection will broadcast itself",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : 2,
"unit" : "MILLISECONDS",
"stability" : "default"
},
"notification-interval" : {
"type" : {
"TYPE_MODEL_VALUE" : "LONG"
},
"description" : "How often the cluster connection will broadcast itself",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : 1000,
"unit" : "MILLISECONDS",
"stability" : "default"
},
"producer-window-size" : {
"type" : {
"TYPE_MODEL_VALUE" : "INT"
},
"description" : "Producer flow control size on the cluster connection.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : -1,
"unit" : "BYTES",
"stability" : "default"
},
"reconnect-attempts" : {
"type" : {
"TYPE_MODEL_VALUE" : "INT"
},
"description" : "The total number of reconnect attempts the bridge will make before giving up and shutting down. A value of -1 signifies an unlimited number of attempts.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : -1,
"stability" : "default"
},
"retry-interval" : {
"type" : {
"TYPE_MODEL_VALUE" : "LONG"
},
"description" : "The period in milliseconds between subsequent attempts to reconnect to a target server, if the connection to the target server has failed.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : 500,
"unit" : "MILLISECONDS",
"stability" : "default"
},
"retry-interval-multiplier" : {
"type" : {
"TYPE_MODEL_VALUE" : "DOUBLE"
},
"description" : "A multiplier to apply to the time since the last retry to compute the time to the next retry. This allows you to implement an exponential backoff between retry attempts.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : 1.0,
"stability" : "default"
},
"static-connectors" : {
"type" : {
"TYPE_MODEL_VALUE" : "LIST"
},
"description" : "The statically defined list of connectors to which this cluster connection will make connections. Must be undefined (null) if 'discovery-group-name' is defined.",
"expressions-allowed" : false,
"required" : true,
"nillable" : true,
"alternatives" : ["discovery-group"],
"min-length" : 0,
"max-length" : 2147483647,
"stability" : "default",
"value-type" : {
"TYPE_MODEL_VALUE" : "STRING"
}
},
"use-duplicate-detection" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "Whether the bridge will automatically insert a duplicate id property into each message that it forwards.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : true,
"stability" : "default"
}
},
"reply-properties" : {},
"stability" : "default",
"read-only" : false,
"runtime-only" : false
}