Interface EmbeddedBroker

All Known Implementing Classes:
QpidEmbeddedBroker

public interface EmbeddedBroker
Methods to be implemented by an embedded broker.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.rabbitmq.client.ConnectionFactory
    Obtain the connection factory.
    com.rabbitmq.client.Connection
    Build a new connection to the broker.
    void
    Start the broker.
    void
    Stop the broker.
  • Method Details

    • start

      void start()
      Start the broker.
    • newConnection

      com.rabbitmq.client.Connection newConnection()
      Build a new connection to the broker.
      Returns:
      The built connection.
    • stop

      void stop()
      Stop the broker.
    • getConnectionFactory

      com.rabbitmq.client.ConnectionFactory getConnectionFactory()
      Obtain the connection factory.
      Returns:
      Connection factory for the broker.