Class RabbitHeadersBinder

java.lang.Object
io.micronaut.rabbitmq.bind.RabbitHeadersBinder
All Implemented Interfaces:
io.micronaut.core.bind.annotation.AnnotatedArgumentBinder<RabbitHeaders,Object,RabbitConsumerState>, io.micronaut.core.bind.ArgumentBinder<Object,RabbitConsumerState>, RabbitAnnotatedArgumentBinder<RabbitHeaders>, RabbitArgumentBinder<Object>

@Singleton public class RabbitHeadersBinder extends Object implements RabbitAnnotatedArgumentBinder<RabbitHeaders>
Binds an argument of with the RabbitHeaders annotation from the RabbitConsumerState.
Since:
2.5.0
Author:
James Kleeh
  • Constructor Details

    • RabbitHeadersBinder

      public RabbitHeadersBinder(io.micronaut.core.convert.ConversionService conversionService)
      Default constructor.
      Parameters:
      conversionService - The conversion service to convert the body
  • Method Details