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 Link icon

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

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

      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 Link icon

      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 Link icon

      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 Link icon

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

      Argument[] arguments
      Returns:
      the arguments to apply when declaring this queue.
      Since:
      1.6
      Default:
      {}
    • declare Link icon

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

      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:
      {}