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 Summary

    Modifier and Type
    Method
    Description
    void
    declare(com.rabbitmq.client.Channel ch, String name)
    Declare the queue.
  • Method Details

    • declare

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