Package io.micronaut.rabbitmq.bind
Class RabbitBodyBinder
java.lang.Object
io.micronaut.rabbitmq.bind.RabbitBodyBinder
- All Implemented Interfaces:
- io.micronaut.core.bind.annotation.AnnotatedArgumentBinder<io.micronaut.messaging.annotation.MessageBody,,- Object, - RabbitConsumerState> - io.micronaut.core.bind.ArgumentBinder<Object,,- RabbitConsumerState> - RabbitAnnotatedArgumentBinder<io.micronaut.messaging.annotation.MessageBody>,- RabbitArgumentBinder<Object>
@Singleton
public class RabbitBodyBinder
extends Object
implements RabbitAnnotatedArgumentBinder<io.micronaut.messaging.annotation.MessageBody>
Binds an argument of with the 
MessageBody annotation from the RabbitConsumerState.- Since:
- 1.1.0
- Author:
- James Kleeh
- 
Nested Class SummaryNested classes/interfaces inherited from interface io.micronaut.core.bind.ArgumentBinderio.micronaut.core.bind.ArgumentBinder.BindingResult<T extends Object>
- 
Constructor SummaryConstructorsConstructorDescriptionRabbitBodyBinder(RabbitMessageSerDesRegistry serDesRegistry) Default constructor.
- 
Method SummaryModifier and TypeMethodDescriptionio.micronaut.core.bind.ArgumentBinder.BindingResult<Object>bind(io.micronaut.core.convert.ArgumentConversionContext<Object> context, RabbitConsumerState messageState) Class<io.micronaut.messaging.annotation.MessageBody>Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.core.bind.ArgumentBindercreateSpecific
- 
Constructor Details- 
RabbitBodyBinderDefault constructor.- Parameters:
- serDesRegistry- The registry to get a deserializer
 
 
- 
- 
Method Details- 
getAnnotationType- Specified by:
- getAnnotationTypein interface- io.micronaut.core.bind.annotation.AnnotatedArgumentBinder<io.micronaut.messaging.annotation.MessageBody,- Object, - RabbitConsumerState> 
 
- 
bindpublic io.micronaut.core.bind.ArgumentBinder.BindingResult<Object> bind(io.micronaut.core.convert.ArgumentConversionContext<Object> context, RabbitConsumerState messageState) - Specified by:
- bindin interface- io.micronaut.core.bind.ArgumentBinder<Object,- RabbitConsumerState> 
 
 
-