Class CamelConnectorIncomingConfiguration
- java.lang.Object
-
- io.smallrye.reactive.messaging.camel.CamelConnectorCommonConfiguration
-
- io.smallrye.reactive.messaging.camel.CamelConnectorIncomingConfiguration
-
public class CamelConnectorIncomingConfiguration extends CamelConnectorCommonConfiguration
Extract the incoming configuration for thesmallrye-camel
connector.
-
-
Field Summary
-
Fields inherited from class io.smallrye.reactive.messaging.camel.CamelConnectorCommonConfiguration
config
-
-
Constructor Summary
Constructors Constructor Description CamelConnectorIncomingConfiguration(org.eclipse.microprofile.config.Config config)
Creates a new CamelConnectorIncomingConfiguration.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFailureStrategy()
Gets the failure-strategy value from the configuration.void
validate()
-
Methods inherited from class io.smallrye.reactive.messaging.camel.CamelConnectorCommonConfiguration
config, getChannel, getEndpointUri, getFromAlias, getFromAliasWithDefaultValue
-
-
-
-
Method Detail
-
getFailureStrategy
public String 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 a Camel exchange is nacked. Values can be `fail` (default) or `ignore` Default Value: fail- Returns:
- the failure-strategy
-
validate
public void validate()
- Overrides:
validate
in classCamelConnectorCommonConfiguration
-
-