Class RabbitMQConnectorOutgoingConfiguration
java.lang.Object
io.smallrye.reactive.messaging.rabbitmq.RabbitMQConnectorCommonConfiguration
io.smallrye.reactive.messaging.rabbitmq.RabbitMQConnectorOutgoingConfiguration
Extract the outgoing configuration for the
smallrye-rabbitmq
connector.-
Field Summary
Fields inherited from class io.smallrye.reactive.messaging.rabbitmq.RabbitMQConnectorCommonConfiguration
config
-
Constructor Summary
ConstructorsConstructorDescriptionRabbitMQConnectorOutgoingConfiguration
(org.eclipse.microprofile.config.Config config) Creates a new RabbitMQConnectorOutgoingConfiguration. -
Method Summary
Modifier and TypeMethodDescriptionGets the default-routing-key value from the configuration.Gets the default-ttl value from the configuration.Gets the max-inflight-messages value from the configuration.Gets the max-outgoing-internal-queue-size value from the configuration.Gets the publish-confirms value from the configuration.void
validate()
Methods inherited from class io.smallrye.reactive.messaging.rabbitmq.RabbitMQConnectorCommonConfiguration
config, getAddresses, getAutomaticRecoveryEnabled, getAutomaticRecoveryOnInitialConnection, getChannel, getClientOptionsName, getConnectionTimeout, getCredentialsProviderName, getExchangeArguments, getExchangeAutoDelete, getExchangeDeclare, getExchangeDurable, getExchangeName, getExchangeType, getFromAlias, getFromAliasWithDefaultValue, getHandshakeTimeout, getHealthEnabled, getHealthReadinessEnabled, getHost, getIncludeProperties, getNetworkRecoveryInterval, getPassword, getPort, getReconnectAttempts, getReconnectInterval, getRequestedChannelMax, getRequestedHeartbeat, getSsl, getSslHostnameVerificationAlgorithm, getTracingAttributeHeaders, getTracingEnabled, getTrustAll, getTrustStorePassword, getTrustStorePath, getUseNio, getUser, getUsername, getVirtualHost
-
Constructor Details
-
RabbitMQConnectorOutgoingConfiguration
public RabbitMQConnectorOutgoingConfiguration(org.eclipse.microprofile.config.Config config) Creates a new RabbitMQConnectorOutgoingConfiguration.
-
-
Method Details
-
getMaxOutgoingInternalQueueSize
Gets the max-outgoing-internal-queue-size value from the configuration. Attribute Name: max-outgoing-internal-queue-size Description: The maximum size of the outgoing internal queue- Returns:
- the max-outgoing-internal-queue-size
-
getMaxInflightMessages
Gets the max-inflight-messages value from the configuration. Attribute Name: max-inflight-messages Description: The maximum number of messages to be written to RabbitMQ concurrently; must be a positive number Default Value: 1024- Returns:
- the max-inflight-messages
-
getDefaultRoutingKey
Gets the default-routing-key value from the configuration. Attribute Name: default-routing-key Description: The default routing key to use when sending messages to the exchange Default Value:- Returns:
- the default-routing-key
-
getDefaultTtl
Gets the default-ttl value from the configuration. Attribute Name: default-ttl Description: If specified, the time (ms) sent messages can remain in queues undelivered before they are dead- Returns:
- the default-ttl
-
getPublishConfirms
Gets the publish-confirms value from the configuration. Attribute Name: publish-confirms Description: If set to true, published messages are acknowledged when the publish confirm is received from the broker Default Value: false- Returns:
- the publish-confirms
-
validate
public void validate()- Overrides:
validate
in classRabbitMQConnectorCommonConfiguration
-