Class TemporarySQSQueue


  • public class TemporarySQSQueue
    extends java.lang.Object
    Encapsulates the lifecycle of a temporary queue.

    Upon construction, an SQS queue will be created and subscribed to the specified SNS topic. Upon destruction, both the SQS queue and SNS subscription will be removed.

    • Constructor Summary

      Constructors 
      Constructor Description
      TemporarySQSQueue​(com.amazonaws.services.sqs.AmazonSQS amazonSQS, com.amazonaws.services.sns.AmazonSNS amazonSNS, java.lang.String snsTopicName, java.lang.String instanceId)  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TemporarySQSQueue

        public TemporarySQSQueue​(com.amazonaws.services.sqs.AmazonSQS amazonSQS,
                                 com.amazonaws.services.sns.AmazonSNS amazonSNS,
                                 java.lang.String snsTopicName,
                                 java.lang.String instanceId)