public class Bridge extends Object
| Modifier and Type | Method and Description |
|---|---|
Long |
checkPeriod()
The period (in milliseconds) between client failure check.
|
Bridge |
checkPeriod(Long value)
The period (in milliseconds) between client failure check.
|
Integer |
confirmationWindowSize()
The confirmation-window-size to use for the connection used to forward messages to the target node.
|
Bridge |
confirmationWindowSize(Integer value)
The confirmation-window-size to use for the connection used to forward messages to the target node.
|
Long |
connectionTtl()
The maximum time (in milliseconds) for which the connections used by the bridges are considered alive (in the absence of heartbeat).
|
Bridge |
connectionTtl(Long value)
The maximum time (in milliseconds) for which the connections used by the bridges are considered alive (in the absence of heartbeat).
|
String |
discoveryGroup()
The name of the discovery group used by this bridge.
|
Bridge |
discoveryGroup(String value)
The name of the discovery group used by this bridge.
|
String |
filter()
An optional filter string.
|
Bridge |
filter(String value)
An optional filter string.
|
String |
forwardingAddress()
The address on the target server that the message will be forwarded to.
|
Bridge |
forwardingAddress(String value)
The address on the target server that the message will be forwarded to.
|
String |
getKey() |
Boolean |
ha()
Whether or not this bridge should support high availability.
|
Bridge |
ha(Boolean value)
Whether or not this bridge should support high availability.
|
Integer |
initialConnectAttempts()
The number of attempts to connect initially with this bridge.
|
Bridge |
initialConnectAttempts(Integer value)
The number of attempts to connect initially with this bridge.
|
Long |
maxRetryInterval()
The maximum interval of time used to retry connections
|
Bridge |
maxRetryInterval(Long value)
The maximum interval of time used to retry connections
|
Integer |
minLargeMessageSize()
The minimum size (in bytes) for a message before it is considered as a large message.
|
Bridge |
minLargeMessageSize(Integer value)
The minimum size (in bytes) for a message before it is considered as a large message.
|
String |
password()
The password to use when creating the bridge connection to the remote server.
|
Bridge |
password(String value)
The password to use when creating the bridge connection to the remote server.
|
String |
queueName()
The unique name of the local queue that the bridge consumes from.
|
Bridge |
queueName(String value)
The unique name of the local queue that the bridge consumes from.
|
Integer |
reconnectAttempts()
The total number of reconnect attempts the bridge will make before giving up and shutting down.
|
Bridge |
reconnectAttempts(Integer value)
The total number of reconnect attempts the bridge will make before giving up and shutting down.
|
Integer |
reconnectAttemptsOnSameNode()
The total number of reconnect attempts on the same node the bridge will make before giving up and shutting down.
|
Bridge |
reconnectAttemptsOnSameNode(Integer value)
The total number of reconnect attempts on the same node the bridge will make before giving up and shutting down.
|
Long |
retryInterval()
The period in milliseconds between subsequent reconnection attempts, if the connection to the target server has failed.
|
Bridge |
retryInterval(Long value)
The period in milliseconds between subsequent reconnection attempts, if the connection to the target server has failed.
|
BigDecimal |
retryIntervalMultiplier()
A multiplier to apply to the time since the last retry to compute the time to the next retry.
|
Bridge |
retryIntervalMultiplier(BigDecimal value)
A multiplier to apply to the time since the last retry to compute the time to the next retry.
|
Boolean |
started()
Whether the bridge is started.
|
Bridge |
started(Boolean value)
Whether the bridge is started.
|
List<String> |
staticConnectors()
A list of names of statically defined connectors used by this bridge.
|
Bridge |
staticConnectors(List<String> value)
A list of names of statically defined connectors used by this bridge.
|
String |
transformerClassName()
The name of a user-defined class which implements the org.apache.activemq.artemis.core.server.cluster.Transformer interface.
|
Bridge |
transformerClassName(String value)
The name of a user-defined class which implements the org.apache.activemq.artemis.core.server.cluster.Transformer interface.
|
Boolean |
useDuplicateDetection()
Whether the bridge will automatically insert a duplicate id property into each message that it forwards.
|
Bridge |
useDuplicateDetection(Boolean value)
Whether the bridge will automatically insert a duplicate id property into each message that it forwards.
|
String |
user()
The user name to use when creating the bridge connection to the remote server.
|
Bridge |
user(String value)
The user name to use when creating the bridge connection to the remote server.
|
public Bridge(String key)
public String getKey()
public Long checkPeriod()
public Bridge checkPeriod(Long value)
public Integer confirmationWindowSize()
public Bridge confirmationWindowSize(Integer value)
public Long connectionTtl()
public Bridge connectionTtl(Long value)
public String discoveryGroup()
public Bridge discoveryGroup(String value)
public String filter()
public Bridge filter(String value)
public String forwardingAddress()
public Bridge forwardingAddress(String value)
public Boolean ha()
public Bridge ha(Boolean value)
public Integer initialConnectAttempts()
public Bridge initialConnectAttempts(Integer value)
public Long maxRetryInterval()
public Bridge maxRetryInterval(Long value)
public Integer minLargeMessageSize()
public Bridge minLargeMessageSize(Integer value)
public String password()
public Bridge password(String value)
public String queueName()
public Bridge queueName(String value)
public Integer reconnectAttempts()
public Bridge reconnectAttempts(Integer value)
public Integer reconnectAttemptsOnSameNode()
public Bridge reconnectAttemptsOnSameNode(Integer value)
public Long retryInterval()
public Bridge retryInterval(Long value)
public BigDecimal retryIntervalMultiplier()
public Bridge retryIntervalMultiplier(BigDecimal value)
public Boolean started()
public List<String> staticConnectors()
public Bridge staticConnectors(List<String> value)
public String transformerClassName()
public Bridge transformerClassName(String value)
public Boolean useDuplicateDetection()
public Bridge useDuplicateDetection(Boolean value)
public String user()
Copyright © 2015 JBoss by Red Hat. All rights reserved.