Class SnsConnectorIncomingConfiguration
- java.lang.Object
-
- io.smallrye.reactive.messaging.aws.sns.SnsConnectorCommonConfiguration
-
- io.smallrye.reactive.messaging.aws.sns.SnsConnectorIncomingConfiguration
-
public class SnsConnectorIncomingConfiguration extends SnsConnectorCommonConfiguration
Extract the incoming configuration for thesmallrye-aws-sns
connector.
-
-
Field Summary
-
Fields inherited from class io.smallrye.reactive.messaging.aws.sns.SnsConnectorCommonConfiguration
config
-
-
Constructor Summary
Constructors Constructor Description SnsConnectorIncomingConfiguration(org.eclipse.microprofile.config.Config config)
Creates a new SnsConnectorIncomingConfiguration.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<String>
getAppUrl()
Gets the app-url value from the configuration.Boolean
getBroadcast()
Gets the broadcast value from the configuration.String
getHost()
Gets the host value from the configuration.Integer
getPort()
Gets the port value from the configuration.void
validate()
-
Methods inherited from class io.smallrye.reactive.messaging.aws.sns.SnsConnectorCommonConfiguration
config, getChannel, getFromAlias, getFromAliasWithDefaultValue, getMockSnsTopics, getSnsUrl, getTopic
-
-
-
-
Method Detail
-
getPort
public Integer getPort()
Gets the port value from the configuration. Attribute Name: port Description: The SNS Callback port Default Value: 8080- Returns:
- the port
-
getHost
public String getHost()
Gets the host value from the configuration. Attribute Name: host Description: The SNS URL / Endpoint URL Mandatory: yes- Returns:
- the host
-
getBroadcast
public Boolean getBroadcast()
Gets the broadcast value from the configuration. Attribute Name: broadcast Description: Whether the SNS messages are dispatched to multiple subscribers (`@Incoming`) Default Value: false- Returns:
- the broadcast
-
getAppUrl
public Optional<String> getAppUrl()
Gets the app-url value from the configuration. Attribute Name: app-url Description: Configures AWS App public URL. This URL should be accessible by AWS SNS (subscription url). It can be a public URL or an URL accessible by SNS within the same VPC. MicroProfile Config Alias: sns-app-url- Returns:
- the app-url
-
validate
public void validate()
- Overrides:
validate
in classSnsConnectorCommonConfiguration
-
-