Class RabbitMQConnectionImpl

java.lang.Object
fr.codinbox.connector.commons.rabbitmq.RabbitMQConnectionImpl
All Implemented Interfaces:
RabbitMQConnection

public class RabbitMQConnectionImpl extends Object implements RabbitMQConnection
Implementation of RabbitMQConnection that manages a RabbitMQ connection and a fixed-size channel pool.

The channel pool is pre-populated at initialization time. Channels are borrowed and returned via PooledChannel, which implements AutoCloseable.

See Also: