Class AMQPBridgeLinkConfiguration
java.lang.Object
org.apache.activemq.artemis.protocol.amqp.connect.bridge.AMQPBridgeLinkConfiguration
- Direct Known Subclasses:
AMQPBridgeReceiverConfiguration, AMQPBridgeSenderConfiguration
Base bridge link configuration that carries configuration common to both sender or receiver
bridge links created by the bridge managers.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAMQPBridgeLinkConfiguration(AMQPBridgeConfiguration configuration, Map<String, ?> properties) -
Method Summary
Modifier and TypeMethodDescriptionfinal intReturns the timeout value to use when waiting for a corresponding link attach from the remote.final longReturns the delay that will be used between successive link recovery attempts.final longReturns the initial delay before a link recovery attempt is made.final intReturns the maximum number of link recovery attempts, or zero if no attempts allowed.booleanReturns true if the bridge is configured to tunnel core messages as AMQP custom messages.final booleanReturnstrueif link recovery support is enabled,falseotherwise.final booleanReturnstrueif bridge is configured to create links with the sender settle mode set to settled.
-
Field Details
-
properties
-
configuration
-
-
Constructor Details
-
AMQPBridgeLinkConfiguration
-
-
Method Details
-
getLinkAttachTimeout
public final int getLinkAttachTimeout()Returns the timeout value to use when waiting for a corresponding link attach from the remote.- Returns:
- the timeout value to use when waiting for a corresponding link attach from the remote
-
isUsingPresettledSenders
public final boolean isUsingPresettledSenders()Returnstrueif bridge is configured to create links with the sender settle mode set to settled.- Returns:
trueif bridge is configured to create links with the sender settle mode set to settled
-
isLinkRecoveryEnabled
public final boolean isLinkRecoveryEnabled()Returnstrueif link recovery support is enabled,falseotherwise.- Returns:
trueif link recovery support is enabled,falseotherwise
-
getMaxLinkRecoveryAttempts
public final int getMaxLinkRecoveryAttempts()Returns the maximum number of link recovery attempts, or zero if no attempts allowed.- Returns:
- the maximum number of link recovery attempts, or zero if no attempts allowed
-
getLinkRecoveryInitialDelay
public final long getLinkRecoveryInitialDelay()Returns the initial delay before a link recovery attempt is made.- Returns:
- the initial delay before a link recovery attempt is made
-
getLinkRecoveryDelay
public final long getLinkRecoveryDelay()Returns the delay that will be used between successive link recovery attempts.- Returns:
- the delay that will be used between successive link recovery attempts
-
isCoreMessageTunnelingEnabled
public boolean isCoreMessageTunnelingEnabled()Returns true if the bridge is configured to tunnel core messages as AMQP custom messages.- Returns:
- true if the bridge is configured to tunnel core messages as AMQP custom messages
-