Annotation Interface QueueBinding


@Target({}) @Retention(RUNTIME) public @interface QueueBinding
Defines a queue, the exchange it is to be bound to, and an optional binding key; used with @RabbitListener.
Since:
1.5
Author:
Gary Russell, Alex Panchenko
  • Element Details

    • value

      Queue value
      Returns:
      the queue.
    • exchange

      Exchange exchange
      Returns:
      the exchange.
    • key

      String[] key
      Returns:
      the routing key or pattern for the binding. Multiple elements will result in multiple bindings.
      Default:
      {}
    • ignoreDeclarationExceptions

      String ignoreDeclarationExceptions
      Returns:
      true if the declaration exceptions should be ignored.
      Since:
      1.6
      Default:
      "false"
    • arguments

      Argument[] arguments
      Returns:
      the arguments to apply when declaring this binding
      Since:
      1.6
      Default:
      {}
    • declare

      String declare
      Returns:
      true if the admin(s), if present, should declare this component.
      Since:
      2.1
      Default:
      "true"
    • admins

      String[] admins
      Return a list of admin bean names that should declare this component. By default all admins will declare it
      Returns:
      the bean names
      Since:
      2.1
      Default:
      {}