Cluster connections group servers into clusters so that messages can be load balanced between the nodes of the cluster.
Attribute | Value |
---|---|
Default Value | false |
Type | BOOLEAN |
Nillable | true |
Expressions Allowed | true |
Storage | configuration |
Access Type | read-write |
Restart Required | all-services |
Attribute | Value |
---|---|
Default Value | -1 |
Type | LONG |
Nillable | true |
Expressions Allowed | true |
Unit | MILLISECONDS |
Storage | configuration |
Access Type | read-write |
Restart Required | no-services |
Attribute | Value |
---|---|
Default Value | 30000 |
Type | LONG |
Nillable | true |
Expressions Allowed | true |
Unit | MILLISECONDS |
Storage | configuration |
Access Type | read-write |
Restart Required | no-services |
Attribute | Value |
---|---|
Default Value | 30000 |
Type | LONG |
Nillable | true |
Expressions Allowed | true |
Unit | MILLISECONDS |
Storage | configuration |
Access Type | read-write |
Restart Required | all-services |
Attribute | Value |
---|---|
Type | STRING |
Nillable | false |
Expressions Allowed | true |
Storage | configuration |
Access Type | read-write |
Restart Required | all-services |
Attribute | Value |
---|---|
Default Value | 1048576 |
Type | INT |
Nillable | true |
Expressions Allowed | true |
Unit | BYTES |
Storage | configuration |
Access Type | read-write |
Restart Required | all-services |
Attribute | Value |
---|---|
Default Value | 60000 |
Type | LONG |
Nillable | true |
Expressions Allowed | true |
Unit | MILLISECONDS |
Storage | configuration |
Access Type | read-write |
Restart Required | all-services |
Attribute | Value |
---|---|
Type | STRING |
Nillable | false |
Expressions Allowed | false |
Storage | configuration |
Access Type | read-write |
Restart Required | all-services |
Attribute | Value |
---|---|
Type | STRING |
Nillable | true |
Expressions Allowed | false |
Storage | configuration |
Access Type | read-write |
Restart Required | all-services |
Attribute | Value |
---|---|
Default Value | false |
Type | BOOLEAN |
Nillable | true |
Expressions Allowed | true |
Storage | configuration |
Access Type | read-write |
Restart Required | all-services |
Attribute | Value |
---|---|
Default Value | -1 |
Type | INT |
Nillable | true |
Expressions Allowed | true |
Storage | configuration |
Access Type | read-write |
Restart Required | all-services |
Attribute | Value |
---|---|
Default Value | 1 |
Type | INT |
Nillable | true |
Expressions Allowed | true |
Storage | configuration |
Access Type | read-write |
Restart Required | all-services |
Attribute | Value |
---|---|
Default Value | 2000 |
Type | LONG |
Nillable | true |
Expressions Allowed | true |
Unit | MILLISECONDS |
Storage | configuration |
Access Type | read-write |
Restart Required | all-services |
Attribute | Value |
---|---|
Default Value | 102400 |
Type | INT |
Nillable | true |
Expressions Allowed | true |
Unit | BYTES |
Storage | configuration |
Access Type | read-write |
Restart Required | all-services |
Attribute | Value |
---|---|
Default Value | 2 |
Type | INT |
Nillable | true |
Expressions Allowed | true |
Unit | MILLISECONDS |
Storage | configuration |
Access Type | read-write |
Restart Required | all-services |
Attribute | Value |
---|---|
Default Value | 1000 |
Type | LONG |
Nillable | true |
Expressions Allowed | true |
Unit | MILLISECONDS |
Storage | configuration |
Access Type | read-write |
Restart Required | all-services |
Attribute | Value |
---|---|
Default Value | -1 |
Type | INT |
Nillable | true |
Expressions Allowed | true |
Storage | configuration |
Access Type | read-write |
Restart Required | all-services |
Attribute | Value |
---|---|
Default Value | 500 |
Type | LONG |
Nillable | true |
Expressions Allowed | true |
Unit | MILLISECONDS |
Storage | configuration |
Access Type | read-write |
Restart Required | all-services |
Attribute | Value |
---|---|
Default Value | 1.0 |
Type | BIG_DECIMAL |
Nillable | true |
Expressions Allowed | true |
Storage | configuration |
Access Type | read-write |
Restart Required | all-services |
Attribute | Value |
---|---|
Type | LIST |
Nillable | true |
Expressions Allowed | false |
Storage | configuration |
Access Type | read-write |
Restart Required | all-services |
Attribute | Value |
---|---|
Default Value | true |
Type | BOOLEAN |
Nillable | true |
Expressions Allowed | true |
Storage | configuration |
Access Type | read-write |
Restart Required | all-services |
Request Parameter | Type | Required | Expressions Allowed | Default value | Description |
---|---|---|---|---|---|
min-large-message-size | INT | false | true | 102400 | The minimum size (in bytes) for a message before it is considered as a large message. |
cluster-connection-address | STRING | true | true | Each cluster connection only applies to messages sent to an address that starts with this value. | |
retry-interval-multiplier | BIG_DECIMAL | false | true | 1.0 | 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. |
reconnect-attempts | INT | false | true | -1 | 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. |
max-hops | INT | false | true | 1 | The maximum number of times a message can be forwarded. HornetQ can be configured to also load balance messages to nodes which might be connected to it only indirectly with other HornetQ servers as intermediates in a chain. |
use-duplicate-detection | BOOLEAN | false | true | true | Whether the bridge will automatically insert a duplicate id property into each message that it forwards. |
call-failover-timeout | LONG | false | true | -1 | The timeout to use when fail over is in process (in ms) for remote calls made by the cluster connection. |
confirmation-window-size | INT | false | true | 1048576 | The confirmation-window-size to use for the connection used to forward messages to a target node. |
check-period | LONG | false | true | 30000 | The period (in milliseconds) between client failure check. |
connection-ttl | LONG | false | true | 60000 | The maximum time (in milliseconds) for which the connections used by the cluster connections are considered alive (in the absence of heartbeat). |
forward-when-no-consumers | BOOLEAN | false | true | false | Whether messages will be distributed round robin between other nodes of the cluster irrespective of whether there are matching or indeed any consumers on other nodes. If this is set to false (the default) then HornetQ will only forward messages to other nodes of the cluster if the address to which they are being forwarded has queues which have consumers, and if those consumers have message filters (selectors) at least one of those selectors must match the message. |
call-timeout | LONG | false | true | 30000 | The timeout (in ms) for remote calls made by the cluster connection. |
static-connectors | LIST | false | false | The statically defined list of connectors to which this cluster connection will make connections. Must be undefined (null) if 'discovery-group-name' is defined. | |
notification-attempts | INT | false | true | 2 | How many times the cluster connection will broadcast itself |
retry-interval | LONG | false | true | 500 | The period in milliseconds between subsequent attempts to reconnect to a target server, if the connection to the target server has failed. |
notification-interval | LONG | false | true | 1000 | How often the cluster connection will broadcast itself |
allow-direct-connections-only | BOOLEAN | false | true | false | 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. |
discovery-group-name | STRING | false | false | 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. | |
max-retry-interval | LONG | false | true | 2000 | The maximum interval of time used to retry connections |
initial-connect-attempts | INT | false | true | -1 | The number of attempts to connect initially with this cluster connection. |
connector-ref | STRING | true | false | The name of connector to use for live connection |