Class AMQPFederationConfiguration
- java.lang.Object
-
- org.apache.activemq.artemis.protocol.amqp.connect.federation.AMQPFederationConfiguration
-
-
Field Summary
Fields Modifier and Type Field Description 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.
-
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()intgetReceiverCredits()intgetReceiverCreditsLow()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
-
-
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.
-
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.
-
-