Class SnsConnectorIncomingConfiguration


  • public class SnsConnectorIncomingConfiguration
    extends SnsConnectorCommonConfiguration
    Extract the incoming configuration for the smallrye-aws-sns connector.
    • Constructor Detail

      • SnsConnectorIncomingConfiguration

        public SnsConnectorIncomingConfiguration​(org.eclipse.microprofile.config.Config config)
        Creates a new SnsConnectorIncomingConfiguration.
    • 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