Class RabbitEnvelopeBinder

java.lang.Object
io.micronaut.rabbitmq.bind.RabbitEnvelopeBinder
All Implemented Interfaces:
io.micronaut.core.bind.ArgumentBinder<com.rabbitmq.client.Envelope,RabbitConsumerState>, io.micronaut.core.bind.TypeArgumentBinder<com.rabbitmq.client.Envelope,RabbitConsumerState>, RabbitArgumentBinder<com.rabbitmq.client.Envelope>, RabbitTypeArgumentBinder<com.rabbitmq.client.Envelope>

@Singleton public class RabbitEnvelopeBinder extends Object implements RabbitTypeArgumentBinder<com.rabbitmq.client.Envelope>
Binds an argument of type Envelope 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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.micronaut.core.type.Argument<com.rabbitmq.client.Envelope>
     
    io.micronaut.core.bind.ArgumentBinder.BindingResult<com.rabbitmq.client.Envelope>
    bind(io.micronaut.core.convert.ArgumentConversionContext<com.rabbitmq.client.Envelope> context, RabbitConsumerState messageState)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RabbitEnvelopeBinder

      public RabbitEnvelopeBinder()
  • Method Details

    • argumentType

      public io.micronaut.core.type.Argument<com.rabbitmq.client.Envelope> argumentType()
      Specified by:
      argumentType in interface io.micronaut.core.bind.TypeArgumentBinder<com.rabbitmq.client.Envelope,RabbitConsumerState>
    • bind

      public io.micronaut.core.bind.ArgumentBinder.BindingResult<com.rabbitmq.client.Envelope> bind(io.micronaut.core.convert.ArgumentConversionContext<com.rabbitmq.client.Envelope> context, RabbitConsumerState messageState)
      Specified by:
      bind in interface io.micronaut.core.bind.ArgumentBinder<com.rabbitmq.client.Envelope,RabbitConsumerState>