Class RabbitMqStreamTestResourceLifecycleManager

java.lang.Object
io.debezium.server.rabbitmq.RabbitMqStreamTestResourceLifecycleManager
All Implemented Interfaces:
io.quarkus.test.common.QuarkusTestResourceLifecycleManager

public class RabbitMqStreamTestResourceLifecycleManager extends Object implements io.quarkus.test.common.QuarkusTestResourceLifecycleManager
Manages the lifecycle of a RabbitMQ cluster test resource.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.quarkus.test.common.QuarkusTestResourceLifecycleManager

    io.quarkus.test.common.QuarkusTestResourceLifecycleManager.Context, io.quarkus.test.common.QuarkusTestResourceLifecycleManager.TestInjector
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
    static final int
     
    private static final AtomicBoolean
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static int
     
    private static void
     
     
    void
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.quarkus.test.common.QuarkusTestResourceLifecycleManager

    init, inject, inject, order, setContext
  • Field Details

  • Constructor Details

    • RabbitMqStreamTestResourceLifecycleManager

      public RabbitMqStreamTestResourceLifecycleManager()
  • Method Details

    • init

      private static void init() throws IOException, InterruptedException
      Throws:
      IOException
      InterruptedException
    • start

      public Map<String,String> start()
      Specified by:
      start in interface io.quarkus.test.common.QuarkusTestResourceLifecycleManager
    • stop

      public void stop()
      Specified by:
      stop in interface io.quarkus.test.common.QuarkusTestResourceLifecycleManager
    • getPort

      public static int getPort()