Class AmazonSQSRule

java.lang.Object
org.junit.rules.ExternalResource
zipkin2.junit.aws.AmazonSQSRule
All Implemented Interfaces:
org.junit.rules.TestRule

public class AmazonSQSRule
extends org.junit.rules.ExternalResource
  • Constructor Details

    • AmazonSQSRule

      public AmazonSQSRule()
  • Method Details

    • start

      public AmazonSQSRule start​(int httpPort)
    • queueUrl

      public String queueUrl()
    • before

      protected void before()
      Overrides:
      before in class org.junit.rules.ExternalResource
    • after

      protected void after()
      Overrides:
      after in class org.junit.rules.ExternalResource
    • queueCount

      public int queueCount()
    • notVisibleCount

      public int notVisibleCount()
    • getSpans

      public List<zipkin2.Span> getSpans()
    • getSpans

      public List<zipkin2.Span> getSpans​(boolean delete)
    • send

      public void send​(String body)