T
- Any type that extends Acknowledgement
@Singleton public class AcknowledgementBinder<T extends io.micronaut.messaging.Acknowledgement> extends Object implements RabbitTypeArgumentBinder<T>
Acknowledgement
from the RabbitConsumerState
.Constructor and Description |
---|
AcknowledgementBinder() |
Modifier and Type | Method and Description |
---|---|
io.micronaut.core.type.Argument<T> |
argumentType() |
io.micronaut.core.bind.ArgumentBinder.BindingResult<T> |
bind(io.micronaut.core.convert.ArgumentConversionContext<T> context,
RabbitConsumerState source) |
public io.micronaut.core.type.Argument<T> argumentType()
argumentType
in interface io.micronaut.core.bind.TypeArgumentBinder<T extends io.micronaut.messaging.Acknowledgement,RabbitConsumerState>
public io.micronaut.core.bind.ArgumentBinder.BindingResult<T> bind(io.micronaut.core.convert.ArgumentConversionContext<T> context, RabbitConsumerState source)
bind
in interface io.micronaut.core.bind.ArgumentBinder<T extends io.micronaut.messaging.Acknowledgement,RabbitConsumerState>