Class DefaultBodyArgumentBinder

java.lang.Object
io.micronaut.core.bind.annotation.AbstractArgumentBinder<Object>
io.micronaut.jms.bind.AbstractJmsArgumentBinder<io.micronaut.messaging.annotation.MessageBody>
io.micronaut.jms.bind.DefaultBodyArgumentBinder
All Implemented Interfaces:
io.micronaut.core.bind.annotation.AnnotatedArgumentBinder<io.micronaut.messaging.annotation.MessageBody,Object,jakarta.jms.Message>, io.micronaut.core.bind.ArgumentBinder<Object,jakarta.jms.Message>, io.micronaut.core.order.Ordered

public class DefaultBodyArgumentBinder extends AbstractJmsArgumentBinder<io.micronaut.messaging.annotation.MessageBody>
Binds a Message to a method argument annotated with MessageBody.
Since:
1.0.0
Author:
Elliott Pope
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.micronaut.core.bind.ArgumentBinder

    io.micronaut.core.bind.ArgumentBinder.BindingResult<T extends Object>
  • Field Summary

    Fields inherited from class io.micronaut.core.bind.annotation.AbstractArgumentBinder

    conversionService

    Fields inherited from interface io.micronaut.core.order.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Constructor Summary

    Constructors
    Constructor
    Description
    DefaultBodyArgumentBinder(io.micronaut.core.convert.ConversionService conversionService, Deserializer deserializer)
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    io.micronaut.core.bind.ArgumentBinder.BindingResult<Object>
    bind(io.micronaut.core.convert.ArgumentConversionContext<Object> context, jakarta.jms.Message source)
     
    Class<io.micronaut.messaging.annotation.MessageBody>
     

    Methods inherited from class io.micronaut.jms.bind.AbstractJmsArgumentBinder

    getOrder

    Methods inherited from class io.micronaut.core.bind.annotation.AbstractArgumentBinder

    doBind, doBind, doBind, doBind, doConvert, doConvert, doResolve, doResolve, getFallbackFormat, getParameterName, resolvedParameterName

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.micronaut.core.bind.ArgumentBinder

    createSpecific
  • Constructor Details

    • DefaultBodyArgumentBinder

      public DefaultBodyArgumentBinder(io.micronaut.core.convert.ConversionService conversionService, Deserializer deserializer)
      Constructor.
      Parameters:
      conversionService - conversionService
      deserializer - deserializer
  • Method Details

    • bind

      public io.micronaut.core.bind.ArgumentBinder.BindingResult<Object> bind(io.micronaut.core.convert.ArgumentConversionContext<Object> context, jakarta.jms.Message source)
    • getAnnotationType

      public Class<io.micronaut.messaging.annotation.MessageBody> getAnnotationType()