Interface Management

All Superinterfaces:
AutoCloseable

public interface Management extends AutoCloseable
API to manage AMQ 0.9.1 model topology (exchanges, queues, and bindings).
See Also:
  • Method Details

    • queue

      Start queue specification.
      Returns:
      the queue specification
    • queue

      Start queue specification.
      Parameters:
      name - the name of the queue
      Returns:
      the queue specification
    • queueInfo

      Management.QueueInfo queueInfo(String name)
      Query information on a queue.
      Parameters:
      name - the name of the queue
      Returns:
      the queue information
    • queueDelete

      void queueDelete(String name)
      Delete a queue.
      Parameters:
      name - the name of the queue
    • queuePurge

      Management.PurgeStatus queuePurge(String queue)
      Purge (delete all messages) from a queue.
      Parameters:
      queue - queue to delete messages from
      Returns:
      the status of the purge operation
    • exchange

      Start exchange specification.
      Returns:
      the exchange specification
    • exchange

      Start exchange specification.
      Parameters:
      name - the name of the exchange
      Returns:
      the exchange specification
    • exchangeDelete

      void exchangeDelete(String name)
      Delete an exchange.
      Parameters:
      name - the name of the exchange
    • binding

      Start binding specification.
      Returns:
      the binding definition
    • unbind

      Start unbinding specification.
      Returns:
      the unbinding specification
    • close

      void close()
      Close the management instance and release its resources.
      Specified by:
      close in interface AutoCloseable