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
NatsArgumentBinderto use for any given argument.Binds an argument of with theMessageBodyannotation from theMessage.Binds an argument typeMessage.The default binder for binding an argument from theMessagethat is used if no other binder supports the argument.Binds an argument of with theMessageHeaderannotation from theMessage.Converts Nats header values to the requested type.Binds an argument of typeHeadersfrom theMessage.Binds an argument typeMessage.Binds an argument of typeSubscriptionfrom theMessage.An interface for Nats argument binding based on argument type.