Function minerva_broker::make_connection_pool
source · [−]pub async fn make_connection_pool(
host: &str,
vhost: Option<&str>,
max_connections: u32
) -> LapinPool
Expand description
Creates a connection pool to RabbitMQ. If the vhost
is set to None
,
assumes that the connection should be established to the default virtual
host.