Class QuarkusHttpConnectorOutgoingConfiguration
java.lang.Object
io.quarkus.reactivemessaging.http.runtime.QuarkusHttpConnectorCommonConfiguration
io.quarkus.reactivemessaging.http.runtime.QuarkusHttpConnectorOutgoingConfiguration
public class QuarkusHttpConnectorOutgoingConfiguration
extends QuarkusHttpConnectorCommonConfiguration
Extract the outgoing configuration for the
quarkus-http connector.-
Field Summary
Fields inherited from class io.quarkus.reactivemessaging.http.runtime.QuarkusHttpConnectorCommonConfiguration
config -
Constructor Summary
ConstructorsConstructorDescriptionQuarkusHttpConnectorOutgoingConfiguration(org.eclipse.microprofile.config.Config config) Creates a new QuarkusHttpConnectorOutgoingConfiguration. -
Method Summary
Modifier and TypeMethodDescriptiongetDelay()Gets the delay value from the configuration.Gets the jitter value from the configuration.Gets the maxPoolSize value from the configuration.Gets the maxRetries value from the configuration.Gets the maxWaitQueueSize value from the configuration.Gets the serializer value from the configuration.getUrl()Gets the url value from the configuration.voidvalidate()Methods inherited from class io.quarkus.reactivemessaging.http.runtime.QuarkusHttpConnectorCommonConfiguration
config, getChannel, getFromAlias, getFromAliasWithDefaultValue, getMethod
-
Constructor Details
-
QuarkusHttpConnectorOutgoingConfiguration
public QuarkusHttpConnectorOutgoingConfiguration(org.eclipse.microprofile.config.Config config) Creates a new QuarkusHttpConnectorOutgoingConfiguration.
-
-
Method Details
-
getUrl
Gets the url value from the configuration. Attribute Name: url Description: The target URL Mandatory: yes- Returns:
- the url
-
getSerializer
Gets the serializer value from the configuration. Attribute Name: serializer Description: Message serializer- Returns:
- the serializer
-
getMaxPoolSize
Gets the maxPoolSize value from the configuration. Attribute Name: maxPoolSize Description: Maximum pool size for connections- Returns:
- the maxPoolSize
-
getMaxWaitQueueSize
Gets the maxWaitQueueSize value from the configuration. Attribute Name: maxWaitQueueSize Description: Maximum requests allowed in the wait queue of the underlying client. If the value is set to a negative number then the queue will be unbounded- Returns:
- the maxWaitQueueSize
-
getMaxRetries
Gets the maxRetries value from the configuration. Attribute Name: maxRetries Description: The number of attempts to make for sending a request to a remote endpoint. Must not be less than zero Default Value: 0- Returns:
- the maxRetries
-
getJitter
Gets the jitter value from the configuration. Attribute Name: jitter Description: Configures the random factor when using back-off with maxRetries > 0 Default Value: 0.5- Returns:
- the jitter
-
getDelay
Gets the delay value from the configuration. Attribute Name: delay Description: Configures a back-off delay between attempts to send a request. A random factor (jitter) is applied to increase the delay when several failures happen.- Returns:
- the delay
-
validate
public void validate()- Overrides:
validatein classQuarkusHttpConnectorCommonConfiguration
-