Class AmqpConnectorOutgoingConfiguration
- java.lang.Object
-
- io.smallrye.reactive.messaging.amqp.AmqpConnectorCommonConfiguration
-
- io.smallrye.reactive.messaging.amqp.AmqpConnectorOutgoingConfiguration
-
public class AmqpConnectorOutgoingConfiguration extends AmqpConnectorCommonConfiguration
Extract the outgoing configuration for thesmallrye-amqp
connector.
-
-
Field Summary
-
Fields inherited from class io.smallrye.reactive.messaging.amqp.AmqpConnectorCommonConfiguration
config
-
-
Constructor Summary
Constructors Constructor Description AmqpConnectorOutgoingConfiguration(org.eclipse.microprofile.config.Config config)
Creates a new AmqpConnectorOutgoingConfiguration.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
getCreditRetrievalPeriod()
Gets the credit-retrieval-period value from the configuration.Boolean
getDurable()
Gets the durable value from the configuration.Long
getTtl()
Gets the ttl value from the configuration.Boolean
getUseAnonymousSender()
Gets the use-anonymous-sender value from the configuration.void
validate()
-
Methods inherited from class io.smallrye.reactive.messaging.amqp.AmqpConnectorCommonConfiguration
config, getAddress, getChannel, getClientOptionsName, getConnectTimeout, getContainerId, getFromAlias, getFromAliasWithDefaultValue, getHost, getLinkName, getPassword, getPort, getReconnectAttempts, getReconnectInterval, getUsername, getUseSsl
-
-
-
-
Method Detail
-
getDurable
public Boolean getDurable()
Gets the durable value from the configuration. Attribute Name: durable Description: Whether sent AMQP messages are marked durable Default Value: false- Returns:
- the durable
-
getTtl
public Long getTtl()
Gets the ttl value from the configuration. Attribute Name: ttl Description: The time-to-live of the send AMQP messages. 0 to disable the TTL Default Value: 0- Returns:
- the ttl
-
getCreditRetrievalPeriod
public Integer getCreditRetrievalPeriod()
Gets the credit-retrieval-period value from the configuration. Attribute Name: credit-retrieval-period Description: The period (in milliseconds) between two attempts to retrieve the credits granted by the broker. This time is used when the sender run out of credits. Default Value: 2000- Returns:
- the credit-retrieval-period
-
getUseAnonymousSender
public Boolean getUseAnonymousSender()
Gets the use-anonymous-sender value from the configuration. Attribute Name: use-anonymous-sender Description: Whether or not the connector should use an anonymous sender. Default Value: true- Returns:
- the use-anonymous-sender
-
validate
public void validate()
- Overrides:
validate
in classAmqpConnectorCommonConfiguration
-
-