Class AMQPFederationConsumerConfiguration
java.lang.Object
org.apache.activemq.artemis.protocol.amqp.connect.federation.AMQPFederationConsumerConfiguration
Configuration options applied to a consumer created from federation policies for address or queue federation. The
options first check the policy properties for matching configuration settings before looking at the federation's own
configuration for the options managed here.
-
Constructor Summary
ConstructorsConstructorDescriptionAMQPFederationConsumerConfiguration(AMQPFederationConfiguration configuration, Map<String, ?> properties) -
Method Summary
Modifier and TypeMethodDescriptionintReturns the idle timeout for a drained federation address consumer before it is closed.intReturns the size in bytes of an incoming message after which theReceivertreats it as large.intReturns the timeout value to use when waiting for a corresponding link attach from the remote.intReturns the federation receiver link quiesce timeout configuration.intReturns the credit batch size offered to aReceiverlink that is in pull mode.intReturns the idle timeout for a drained federation queue consumer before it is closed.intReturns the credit batch size offered to aReceiverlink.intReturns the number of remaining credits on aReceiverbefore the batch is replenished.intReturns the receiver drain timeout for a stopping federation consumer before it is closed.booleanReturnstrueif the federation is configured to tunnel core messages as AMQP custom messages.boolean(@return the drain link credit on transient delivery errors configuration}booleanReturnstrueif federation is configured to ignore filters on individual address bindings.booleanReturnstrueif federation is configured to ignore filters on individual queue consumers.booleanReturnstrueif federation is configured to ignore priorities on individual queue consumers.boolean(@return the use modified for transient delivery errors configuration}
-
Constructor Details
-
AMQPFederationConsumerConfiguration
public AMQPFederationConsumerConfiguration(AMQPFederationConfiguration configuration, Map<String, ?> properties)
-
-
Method Details
-
getReceiverCredits
public int getReceiverCredits()Returns the credit batch size offered to aReceiverlink.- Returns:
- the credit batch size offered to a
Receiverlink
-
getReceiverCreditsLow
public int getReceiverCreditsLow()Returns the number of remaining credits on aReceiverbefore the batch is replenished.- Returns:
- the number of remaining credits on a
Receiverbefore the batch is replenished
-
getReceiverQuiesceTimeout
public int getReceiverQuiesceTimeout()Returns the receiver drain timeout for a stopping federation consumer before it is closed.- Returns:
- the receiver drain timeout for a stopping federation consumer before it is closed
-
getAddressReceiverIdleTimeout
public int getAddressReceiverIdleTimeout()Returns the idle timeout for a drained federation address consumer before it is closed.- Returns:
- the idle timeout for a drained federation address consumer before it is closed
-
getQueueReceiverIdleTimeout
public int getQueueReceiverIdleTimeout()Returns the idle timeout for a drained federation queue consumer before it is closed.- Returns:
- the idle timeout for a drained federation queue consumer before it is closed
-
getPullReceiverBatchSize
public int getPullReceiverBatchSize()Returns the credit batch size offered to aReceiverlink that is in pull mode.- Returns:
- the credit batch size offered to a
Receiverlink that is in pull mode
-
getLargeMessageThreshold
public int getLargeMessageThreshold()Returns the size in bytes of an incoming message after which theReceivertreats it as large.- Returns:
- the size in bytes of an incoming message after which the
Receivertreats 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()Returnstrueif the federation is configured to tunnel core messages as AMQP custom messages.- Returns:
trueif the federation is configured to tunnel core messages as AMQP custom messages
-
isIgnoreAddressBindingFilters
public boolean isIgnoreAddressBindingFilters()Returnstrueif federation is configured to ignore filters on individual address bindings.- Returns:
trueif federation is configured to ignore filters on individual address bindings
-
isIgnoreSubscriptionFilters
public boolean isIgnoreSubscriptionFilters()Returnstrueif federation is configured to ignore filters on individual queue consumers.- Returns:
trueif federation is configured to ignore filters on individual queue consumers
-
isIgnoreSubscriptionPriorities
public boolean isIgnoreSubscriptionPriorities()Returnstrueif federation is configured to ignore priorities on individual queue consumers.- Returns:
trueif federation is configured to ignore priorities on individual queue consumers
-
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 federation receiver link quiesce timeout configuration.- Returns:
- the federation receiver link quiesce timeout configuration
-