@Singleton public class RabbitChannelBinder extends Object implements RabbitTypeArgumentBinder<com.rabbitmq.client.Channel>
Channel
from the RabbitConsumerState
.Constructor and Description |
---|
RabbitChannelBinder() |
Modifier and Type | Method and Description |
---|---|
io.micronaut.core.type.Argument<com.rabbitmq.client.Channel> |
argumentType() |
io.micronaut.core.bind.ArgumentBinder.BindingResult<com.rabbitmq.client.Channel> |
bind(io.micronaut.core.convert.ArgumentConversionContext<com.rabbitmq.client.Channel> context,
RabbitConsumerState messageState) |
public io.micronaut.core.type.Argument<com.rabbitmq.client.Channel> argumentType()
argumentType
in interface io.micronaut.core.bind.TypeArgumentBinder<com.rabbitmq.client.Channel,RabbitConsumerState>
public io.micronaut.core.bind.ArgumentBinder.BindingResult<com.rabbitmq.client.Channel> bind(io.micronaut.core.convert.ArgumentConversionContext<com.rabbitmq.client.Channel> context, RabbitConsumerState messageState)
bind
in interface io.micronaut.core.bind.ArgumentBinder<com.rabbitmq.client.Channel,RabbitConsumerState>