Class SnsVerticle

  • All Implemented Interfaces:
    io.vertx.core.Verticle

    public class SnsVerticle
    extends io.vertx.core.AbstractVerticle
    Vert.x verticle that handles subscription to SNS topic and receive notifications from topic.
    Author:
    iabughosh
    • Field Summary

      • Fields inherited from class io.vertx.core.AbstractVerticle

        context, vertx
    • Constructor Summary

      Constructors 
      Constructor Description
      SnsVerticle​(String endpoint, String topic, int port, boolean mockSns, String snsUrl)
      Parameterized constructor.
    • Constructor Detail

      • SnsVerticle

        public SnsVerticle​(String endpoint,
                           String topic,
                           int port,
                           boolean mockSns,
                           String snsUrl)
        Parameterized constructor.
        Parameters:
        endpoint - Endpoint url.
        topic - SNS topic name.
        port - listening port for this verticle.
        mockSns - true if it is mock/non-sns topic.
        snsUrl - the SNS url
    • Method Detail

      • start

        public void start​(io.vertx.core.Promise<Void> startFuture)