Annotation Interface Queue


@Target({}) @Retention(RUNTIME) public @interface Queue
A queue definition used within the bindings attribute of a QueueBinding.
Since:
1.5
Author:
Gary Russell
  • Element Details

    • value

      @AliasFor("name") String value
      Returns:
      the queue name or "" for a generated queue name (default).
      Default:
      ""
    • name

      @AliasFor("value") String name
      Returns:
      the queue name or "" for a generated queue name (default).
      Since:
      2.0
      Default:
      ""
    • durable

      String durable
      Specifies if this queue should be durable. By default if queue name is provided it is durable.
      Returns:
      true if the queue is to be declared as durable.
      See Also:
      Default:
      ""
    • exclusive

      String exclusive
      Specifies if this queue should be exclusive. By default if queue name is provided it is not exclusive.
      Returns:
      true if the queue is to be declared as exclusive.
      See Also:
      Default:
      ""
    • autoDelete

      String autoDelete
      Specifies if this queue should be auto deleted when not used. By default if queue name is provided it is not auto-deleted.
      Returns:
      true if the queue is to be declared as auto-delete.
      See Also:
      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 queue.
      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:
      {}