Package fr.ght1pc9kc.testy.beat.brokers
Interface EmbeddedBroker
- All Known Implementing Classes:
QpidEmbeddedBroker
public interface EmbeddedBroker
Methods to be implemented by an embedded 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.
-