Interface Management.QueueInfo

Enclosing interface:
Management

public static interface Management.QueueInfo
Queue information.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    The arguments of the queue.
    boolean
    Whether the queue is deleted when last consumer unsubscribes.
    int
    The number of consumers the queue has.
    boolean
    Whether the queue is durable (will survive a server restart).
    boolean
    Whether the queue is used by only one connection and will be deleted when that connection closes.
    The node the leader of the queue is on.
    The nodes the queue has members on.
    long
    The number of messages in the queue.
    The name of the queue.
    Deprecated, for removal: This API element is subject to removal in a future version.
    The type of the queue.
  • Method Details

    • name

      String name()
      The name of the queue.
      Returns:
      queue name
    • durable

      boolean durable()
      Whether the queue is durable (will survive a server restart).
      Returns:
      the durable flag
    • autoDelete

      boolean autoDelete()
      Whether the queue is deleted when last consumer unsubscribes.
      Returns:
      the auto-delete flag
    • exclusive

      boolean exclusive()
      Whether the queue is used by only one connection and will be deleted when that connection closes.
      Returns:
      the exclusive flag
    • type

      The type of the queue.
      Returns:
      the queue type
    • arguments

      Map<String,Object> arguments()
      The arguments of the queue.
      Returns:
      the queue arguments
    • leader

      String leader()
      The node the leader of the queue is on.
      Returns:
      the node of the queue leader
    • replicas

      @Deprecated(forRemoval=true) List<String> replicas()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Deprecated, use members() instead.
      Returns:
      the nodes of the queue members
    • members

      List<String> members()
      The nodes the queue has members on.
      Returns:
      the nodes of the queue members
    • messageCount

      long messageCount()
      The number of messages in the queue.
      Returns:
      the queue message count
    • consumerCount

      int consumerCount()
      The number of consumers the queue has.
      Returns:
      the queue consumer count