Interface ChannelPoolInitializer
- All Known Implementing Classes:
ChannelInitializer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Initializes a channel before consumers or producers are created.
- Since:
- 5.10.0
- Author:
- James Kleeh
-
Method Summary
Modifier and TypeMethodDescriptionvoidinitialize(com.rabbitmq.client.Channel channel, String name) Do any work with a channel.
-
Method Details
-
initialize
Do any work with a channel.- Parameters:
channel- The channel to usename- The name of the channel pool, like configured underrabbitmq.servers- Throws:
IOException- If any error occurs
-