Interface Declaration.ExchangeDeclaration

  • All Known Implementing Classes:
    ExplicitExchange
    Enclosing class:
    Declaration
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public static interface Declaration.ExchangeDeclaration
    Interface that allows exchange declaration to be composed.
    • Method Detail

      • declare

        void declare​(com.rabbitmq.client.Channel ch)
              throws java.lang.Exception
        Declare the exchange.
        Parameters:
        ch - the channel to use to declare the exchange.
        Throws:
        java.lang.Exception
      • name

        default java.lang.String name()
        The name of the exchange that was declared.