Class AmqpConnectorIncomingConfiguration
java.lang.Object
io.smallrye.reactive.messaging.amqp.AmqpConnectorCommonConfiguration
io.smallrye.reactive.messaging.amqp.AmqpConnectorIncomingConfiguration
Extract the incoming configuration for the
smallrye-amqp
connector.-
Field Summary
Fields inherited from class io.smallrye.reactive.messaging.amqp.AmqpConnectorCommonConfiguration
config
-
Constructor Summary
ConstructorDescriptionAmqpConnectorIncomingConfiguration
(org.eclipse.microprofile.config.Config config) Creates a new AmqpConnectorIncomingConfiguration. -
Method Summary
Modifier and TypeMethodDescriptionGets the auto-acknowledgement value from the configuration.Gets the broadcast value from the configuration.Gets the durable value from the configuration.Gets the failure-strategy value from the configuration.Gets the selector value from the configuration.void
validate()
Methods inherited from class io.smallrye.reactive.messaging.amqp.AmqpConnectorCommonConfiguration
config, getAddress, getCapabilities, getChannel, getClientOptionsName, getClientSslContextName, getCloudEvents, getConnectTimeout, getContainerId, getFromAlias, getFromAliasWithDefaultValue, getHealthTimeout, getHost, getLinkName, getPassword, getPort, getReconnectAttempts, getReconnectInterval, getSniServerName, getTracingEnabled, getUsername, getUseSsl, getVirtualHost
-
Constructor Details
-
AmqpConnectorIncomingConfiguration
public AmqpConnectorIncomingConfiguration(org.eclipse.microprofile.config.Config config) Creates a new AmqpConnectorIncomingConfiguration.
-
-
Method Details
-
getBroadcast
Gets the broadcast value from the configuration. Attribute Name: broadcast Description: Whether the received AMQP messages must be dispatched to multiple _subscribers_ Default Value: false- Returns:
- the broadcast
-
getDurable
Gets the durable value from the configuration. Attribute Name: durable Description: Whether AMQP subscription is durable Default Value: false- Returns:
- the durable
-
getAutoAcknowledgement
Gets the auto-acknowledgement value from the configuration. Attribute Name: auto-acknowledgement Description: Whether the received AMQP messages must be acknowledged when received Default Value: false- Returns:
- the auto-acknowledgement
-
getFailureStrategy
Gets the failure-strategy value from the configuration. Attribute Name: failure-strategy Description: Specify the failure strategy to apply when a message produced from an AMQP message is nacked. Accepted values are `fail` (default), `accept`, `release`, `reject`, `modified-failed`, `modified-failed-undeliverable-here` Default Value: fail- Returns:
- the failure-strategy
-
getSelector
Gets the selector value from the configuration. Attribute Name: selector Description: Sets a message selector. This attribute is used to define an `apache.org:selector-filter:string` filter on the source terminus, using SQL-based syntax to request the server filters which messages are delivered to the receiver (if supported by the server in question). Precise functionality supported and syntax needed can vary depending on the server.- Returns:
- the selector
-
validate
public void validate()- Overrides:
validate
in classAmqpConnectorCommonConfiguration
-