Package io.micronaut.rabbitmq.bind
Class AcknowledgementBinder<T extends io.micronaut.messaging.Acknowledgement>
java.lang.Object
io.micronaut.rabbitmq.bind.AcknowledgementBinder<T>
- Type Parameters:
T
- Any type that extendsAcknowledgement
- All Implemented Interfaces:
io.micronaut.core.bind.ArgumentBinder<T,
,RabbitConsumerState> io.micronaut.core.bind.TypeArgumentBinder<T,
,RabbitConsumerState> RabbitArgumentBinder<T>
,RabbitTypeArgumentBinder<T>
- Direct Known Subclasses:
RabbitAcknowledgementBinder
@Singleton
public class AcknowledgementBinder<T extends io.micronaut.messaging.Acknowledgement>
extends Object
implements RabbitTypeArgumentBinder<T>
Binds an argument of type
Acknowledgement
from the RabbitConsumerState
.- Since:
- 1.1.0
- Author:
- James Kleeh
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.micronaut.core.bind.ArgumentBinder
io.micronaut.core.bind.ArgumentBinder.BindingResult<T extends Object>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionio.micronaut.core.type.Argument<T>
io.micronaut.core.bind.ArgumentBinder.BindingResult<T>
bind
(io.micronaut.core.convert.ArgumentConversionContext<T> context, RabbitConsumerState source)
-
Constructor Details
-
AcknowledgementBinder
public AcknowledgementBinder()
-
-
Method Details
-
argumentType
- Specified by:
argumentType
in interfaceio.micronaut.core.bind.TypeArgumentBinder<T extends io.micronaut.messaging.Acknowledgement,
RabbitConsumerState>
-
bind
public io.micronaut.core.bind.ArgumentBinder.BindingResult<T> bind(io.micronaut.core.convert.ArgumentConversionContext<T> context, RabbitConsumerState source) - Specified by:
bind
in interfaceio.micronaut.core.bind.ArgumentBinder<T extends io.micronaut.messaging.Acknowledgement,
RabbitConsumerState>
-