Package io.gridgo.connector.rabbitmq
Interface RabbitMQChannelLifeCycle
-
- All Superinterfaces:
io.gridgo.utils.helper.Loggable
- All Known Subinterfaces:
RabbitMQConsumer,RabbitMQProducer
- All Known Implementing Classes:
AbstractRabbitMQConsumer,AbstractRabbitMQProducer,DefaultRabbitMQConsumer,DefaultRabbitMQProducer
public interface RabbitMQChannelLifeCycle extends io.gridgo.utils.helper.Loggable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidcloseChannel()com.rabbitmq.client.ChannelgetChannel()RabbitMQQueueConfiggetQueueConfig()default com.rabbitmq.client.ChannelinitChannel(com.rabbitmq.client.Connection connection)
-
-
-
Method Detail
-
closeChannel
default void closeChannel()
-
getChannel
com.rabbitmq.client.Channel getChannel()
-
getQueueConfig
RabbitMQQueueConfig getQueueConfig()
-
initChannel
default com.rabbitmq.client.Channel initChannel(com.rabbitmq.client.Connection connection)
-
-