public abstract class ChannelInitializer extends java.lang.Object implements io.micronaut.context.event.BeanCreatedEventListener<ChannelPool>
| Constructor and Description |
|---|
ChannelInitializer() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
initialize(com.rabbitmq.client.Channel channel)
Do any work with a channel.
|
ChannelPool |
onCreated(io.micronaut.context.event.BeanCreatedEvent<ChannelPool> event) |
public abstract void initialize(com.rabbitmq.client.Channel channel)
throws java.io.IOException
channel - The channel to usejava.io.IOException - If any error occurspublic ChannelPool onCreated(io.micronaut.context.event.BeanCreatedEvent<ChannelPool> event)
onCreated in interface io.micronaut.context.event.BeanCreatedEventListener<ChannelPool>