Package io.micronaut.nats.jetstream.bind
Class AcknowledgementBinder<T extends io.micronaut.messaging.Acknowledgement>
java.lang.Object
io.micronaut.nats.jetstream.bind.AcknowledgementBinder<T>
- Type Parameters:
T
- Any type that extendsAcknowledgement
- All Implemented Interfaces:
io.micronaut.core.bind.ArgumentBinder<T,
,io.nats.client.Message> io.micronaut.core.bind.TypeArgumentBinder<T,
,io.nats.client.Message> NatsArgumentBinder<T>
,NatsTypeArgumentBinder<T>
- Direct Known Subclasses:
NatsAcknowledgementBinder
@Singleton
@Internal
public class AcknowledgementBinder<T extends io.micronaut.messaging.Acknowledgement>
extends Object
implements NatsTypeArgumentBinder<T>
Binds an argument of type
Acknowledgement
from the Message
.- Since:
- 4.0.0
- Author:
- Joachim Grimm
-
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
-
Constructor Details
-
AcknowledgementBinder
public AcknowledgementBinder()
-
-
Method Details
-
argumentType
- Specified by:
argumentType
in interfaceio.micronaut.core.bind.TypeArgumentBinder<T extends io.micronaut.messaging.Acknowledgement,
io.nats.client.Message>
-
bind
public io.micronaut.core.bind.ArgumentBinder.BindingResult<T> bind(io.micronaut.core.convert.ArgumentConversionContext<T> context, io.nats.client.Message source) - Specified by:
bind
in interfaceio.micronaut.core.bind.ArgumentBinder<T extends io.micronaut.messaging.Acknowledgement,
io.nats.client.Message>
-