Class AMQPFederationConfiguration
- java.lang.Object
-
- org.apache.activemq.artemis.protocol.amqp.connect.federation.AMQPFederationConfiguration
-
-
Field Summary
Fields Modifier and Type Field Description static booleanDEFAULT_CORE_MESSAGE_TUNNELING_ENABLEDDefault value for the core message tunneling feature that indicates if core protocol messages should be streamed as binary blobs as the payload of an custom AMQP message which avoids any conversions of the messages to / from AMQP.static intDEFAULT_LINK_ATTACH_TIMEOUTDefault timeout value (in seconds) used to control when a link attach is considered to have failed due to not responding to an attach request.static intDEFAULT_PULL_CREDIT_BATCH_SIZEDefault credits granted to a receiver that is in pull mode.
-
Constructor Summary
Constructors Constructor Description AMQPFederationConfiguration(AMQPConnectionContext connection, Map<String,Object> properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetLargeMessageThreshold()intgetLinkAttachTimeout()intgetPullReceiverBatchSize()intgetReceiverCredits()intgetReceiverCreditsLow()booleanisCoreMessageTunnelingEnabled()booleanisIgnoreSubscriptionFilters()booleanisIgnoreSubscriptionPriorities()Map<String,Object>toConfigurationMap()Enumerate the configuration options in this configuration object and return aMapthat contains the values which can be sent to a remote peer
-
-
-
Field Detail
-
DEFAULT_LINK_ATTACH_TIMEOUT
public static final int DEFAULT_LINK_ATTACH_TIMEOUT
Default timeout value (in seconds) used to control when a link attach is considered to have failed due to not responding to an attach request.- See Also:
- Constant Field Values
-
DEFAULT_PULL_CREDIT_BATCH_SIZE
public static final int DEFAULT_PULL_CREDIT_BATCH_SIZE
Default credits granted to a receiver that is in pull mode.- See Also:
- Constant Field Values
-
DEFAULT_CORE_MESSAGE_TUNNELING_ENABLED
public static final boolean DEFAULT_CORE_MESSAGE_TUNNELING_ENABLED
Default value for the core message tunneling feature that indicates if core protocol messages should be streamed as binary blobs as the payload of an custom AMQP message which avoids any conversions of the messages to / from AMQP.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AMQPFederationConfiguration
public AMQPFederationConfiguration(AMQPConnectionContext connection, Map<String,Object> properties)
-
-
Method Detail
-
getReceiverCredits
public int getReceiverCredits()
- Returns:
- the credit batch size offered to a
Receiverlink.
-
getReceiverCreditsLow
public int getReceiverCreditsLow()
- Returns:
- the number of remaining credits on a
Receiverbefore the batch is replenished.
-
getPullReceiverBatchSize
public int getPullReceiverBatchSize()
- 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 the
Receivertreats it as large.
-
getLinkAttachTimeout
public int getLinkAttachTimeout()
- Returns:
- the size in bytes of an incoming message after which the
Receivertreats it as large.
-
isCoreMessageTunnelingEnabled
public boolean isCoreMessageTunnelingEnabled()
- Returns:
- true if the federation is configured to tunnel core messages as AMQP custom messages.
-
isIgnoreSubscriptionFilters
public boolean isIgnoreSubscriptionFilters()
- Returns:
trueif federation is configured to ignore filters on individual queue consumers
-
isIgnoreSubscriptionPriorities
public boolean isIgnoreSubscriptionPriorities()
- Returns:
trueif federation is configured to ignore priorities on individual queue consumers
-
-