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.
    long
    The number of messages in the queue.
    The name of the queue.
    The nodes the queue has replicas (members) on.
    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

      List<String> replicas()
      The nodes the queue has replicas (members) on.
      Returns:
      the nodes of the queue replicas (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