Annotation Type RabbitAvailable


  • @ExtendWith(RabbitAvailableCondition.class)
    @Target(TYPE)
    @Retention(RUNTIME)
    @Documented
    public @interface RabbitAvailable
    Test classes annotated with this will not run if there is no broker on localhost.
    Since:
    2.0.2
    Author:
    Gary Russell
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean management
      Requires the management plugin to be available.
      boolean purgeAfterEach
      Purge the test queues after each test.
      java.lang.String[] queues
      The queues to create and ensure empty; they will be deleted after the test class completes.
      java.lang.String[] value
      The queues to create and ensure empty; they will be deleted after the test class completes.
    • Element Detail

      • value

        @AliasFor("queues")
        java.lang.String[] value
        The queues to create and ensure empty; they will be deleted after the test class completes.
        Returns:
        the queues.
        Since:
        2.2
        Default:
        {}
      • queues

        @AliasFor("value")
        java.lang.String[] queues
        The queues to create and ensure empty; they will be deleted after the test class completes.
        Returns:
        the queues.
        Default:
        {}
      • management

        boolean management
        Requires the management plugin to be available.
        Returns:
        true to require a management plugin.
        Default:
        false
      • purgeAfterEach

        boolean purgeAfterEach
        Purge the test queues after each test.
        Returns:
        true to purge (default).
        Since:
        2.2
        Default:
        true