Class AMQPBridgeConfiguration
java.lang.Object
org.apache.activemq.artemis.protocol.amqp.connect.bridge.AMQPBridgeConfiguration
-
Constructor Summary
ConstructorsConstructorDescriptionAMQPBridgeConfiguration(AMQPConnectionContext connection, Map<String, Object> properties) -
Method Summary
Modifier and TypeMethodDescriptionintReturns the receive idle timeout when shutting down a address Receiver when local demand is removed.longReturns the auto delete subscription delay for address senders using durable bindings.longReturns the auto delete subscription message count for address senders using durable bindings.intReturns the size in bytes of an incoming message after which the receiver treats it as large.intReturns the timeout value to use when waiting for a corresponding link attach from the remote.intReturns the bridge receiver link quiesce timeout configuration.longReturns the delay that will be used between successive link recovery attempts.longReturns the initial delay before a link recovery attempt is made.intReturns the maximum number of link recovery attempts, or zero if no attempts allowed.intReturns the credit batch size offered to a receiver link that is in pull mode.intReturns the receive idle timeout when shutting down a queue Receiver when local demand is removed.intReturns the credit batch size offered to a receiver link.intReturns the number of remaining credits on a receiver before the batch is replenished.intReturns the receive quiesce timeout when shutting down a receiver when local demand is removed.booleanReturnstrueif bridge is configured to auto delete address senders using durable subscription bindings.booleanReturns true if the bridge is configured to tunnel core messages as AMQP custom messages.boolean(@return the drain link credit on transient delivery errors configuration}booleanReturnstrueif the bridge is configured to ignore filters on the bridged Queue.booleanReturnstrueif the bridge is configured to ignore filters on individual queue consumers.booleanReturnstrueif bridge from address policies are configured to prefer using shared durable address subscriptions.booleanReturnstrueif bridge is configured to ignore local demand and always create a receiver.booleanReturnstrueif bridge is configured to omit any priority properties on receiver links.boolean(@return the use modified for transient delivery errors configuration}booleanReturnstrueif bridge is configured to create links with the sender settle mode set to settled.
-
Constructor Details
-
AMQPBridgeConfiguration
-
-
Method Details
-
getReceiverCredits
public int getReceiverCredits()Returns the credit batch size offered to a receiver link.- Returns:
- the credit batch size offered to a receiver link
-
getReceiverCreditsLow
public int getReceiverCreditsLow()Returns the number of remaining credits on a receiver before the batch is replenished.- Returns:
- the number of remaining credits on a receiver before the batch is replenished
-
getPullReceiverBatchSize
public int getPullReceiverBatchSize()Returns the credit batch size offered to a receiver link that is in pull mode.- Returns:
- the credit batch size offered to a receiver link that is in pull mode
-
getLargeMessageThreshold
public int getLargeMessageThreshold()Returns the size in bytes of an incoming message after which the receiver treats it as large.- Returns:
- the size in bytes of an incoming message after which the receiver treats it as large
-
getLinkAttachTimeout
public 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
-
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
-
isIgnoreSubscriptionFilters
public boolean isIgnoreSubscriptionFilters()Returnstrueif the bridge is configured to ignore filters on individual queue consumers.- Returns:
trueif the bridge is configured to ignore filters on individual queue consumers
-
isIgnoreQueueFilters
public boolean isIgnoreQueueFilters()Returnstrueif the bridge is configured to ignore filters on the bridged Queue.- Returns:
trueif the bridge is configured to ignore filters on the bridged Queue
-
isReceiverPriorityDisabled
public boolean isReceiverPriorityDisabled()Returnstrueif bridge is configured to omit any priority properties on receiver links.- Returns:
trueif bridge is configured to omit any priority properties on receiver links
-
isReceiverDemandTrackingDisabled
public boolean isReceiverDemandTrackingDisabled()Returnstrueif bridge is configured to ignore local demand and always create a receiver.- Returns:
trueif bridge is configured to ignore local demand and always create a receiver
-
getReceiverQuiesceTimeout
public int getReceiverQuiesceTimeout()Returns the receive quiesce timeout when shutting down a receiver when local demand is removed.- Returns:
- the receive quiesce timeout when shutting down a receiver when local demand is removed
-
getAddressReceiverIdleTimeout
public int getAddressReceiverIdleTimeout()Returns the receive idle timeout when shutting down a address Receiver when local demand is removed.- Returns:
- the receive idle timeout when shutting down a address Receiver when local demand is removed
-
getQueueReceiverIdleTimeout
public int getQueueReceiverIdleTimeout()Returns the receive idle timeout when shutting down a queue Receiver when local demand is removed.- Returns:
- the receive idle timeout when shutting down a queue Receiver when local demand is removed
-
isUsingPresettledSenders
public 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
-
getMaxLinkRecoveryAttempts
public 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 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 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
-
isAutoDeleteDurableSubscriptions
public boolean isAutoDeleteDurableSubscriptions()Returnstrueif bridge is configured to auto delete address senders using durable subscription bindings.- Returns:
trueif bridge is configured to auto delete address senders using durable subscription bindings
-
getAutoDeleteDurableSubscriptionMsgCount
public long getAutoDeleteDurableSubscriptionMsgCount()Returns the auto delete subscription message count for address senders using durable bindings.- Returns:
- the auto delete subscription message count for address senders using durable bindings
-
getAutoDeleteDurableSubscriptionDelay
public long getAutoDeleteDurableSubscriptionDelay()Returns the auto delete subscription delay for address senders using durable bindings.- Returns:
- the auto delete subscription delay for address senders using durable bindings
-
isUseModifiedForTransientDeliveryErrors
public boolean isUseModifiedForTransientDeliveryErrors()(@return the use modified for transient delivery errors configuration} -
isDrainOnTransientDeliveryErrors
public boolean isDrainOnTransientDeliveryErrors()(@return the drain link credit on transient delivery errors configuration} -
getLinkQuiesceTimeout
public int getLinkQuiesceTimeout()Returns the bridge receiver link quiesce timeout configuration.- Returns:
- the bridge receiver link quiesce timeout configuration
-