Package io.micronaut.nats.bind
package io.micronaut.nats.bind
Classes for binding Nats messages to consumer methods.
- Since:
- 1.0.0
- Author:
- jgrimm
-
ClassDescriptionNatsAnnotatedArgumentBinder<A extends Annotation>An interface for nats argument binding based on an annotation.An interface for Nats argument binding.Used to determine which
NatsArgumentBinder
to use for any given argument.Binds an argument of with theMessageBody
annotation from theMessage
.Binds an argument typeMessage
.The default binder for binding an argument from theMessage
that is used if no other binder supports the argument.Binds an argument of with theMessageHeader
annotation from theMessage
.Converts Nats header values to the requested type.Binds an argument of typeHeaders
from theMessage
.Binds an argument typeMessage
.Binds an argument of typeSubscription
from theMessage
.An interface for Nats argument binding based on argument type.