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