Interface Declaration.QueueDeclaration

  • All Known Implementing Classes:
    ExplicitQueue
    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.QueueDeclaration
    Interface that allows queue declaration to be composed.
    • Method Detail

      • declare

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