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 Summary
Nested classes/interfaces inherited from interface io.micronaut.core.bind.ArgumentBinder
io.micronaut.core.bind.ArgumentBinder.BindingResult<T extends Object> - 
Constructor Summary
ConstructorsConstructorDescriptionRabbitBodyBinder(RabbitMessageSerDesRegistry serDesRegistry) Default constructor. - 
Method Summary
Modifier and TypeMethodDescriptionio.micronaut.core.bind.ArgumentBinder.BindingResult<Object>bind(io.micronaut.core.convert.ArgumentConversionContext<Object> context, RabbitConsumerState messageState) Class<io.micronaut.messaging.annotation.MessageBody> 
- 
Constructor Details
- 
RabbitBodyBinder
Default constructor.- Parameters:
 serDesRegistry- The registry to get a deserializer
 
 - 
 - 
Method Details
- 
getAnnotationType
- Specified by:
 getAnnotationTypein interfaceio.micronaut.core.bind.annotation.AnnotatedArgumentBinder<io.micronaut.messaging.annotation.MessageBody,Object, RabbitConsumerState> 
 - 
bind
public io.micronaut.core.bind.ArgumentBinder.BindingResult<Object> bind(io.micronaut.core.convert.ArgumentConversionContext<Object> context, RabbitConsumerState messageState) - Specified by:
 bindin interfaceio.micronaut.core.bind.ArgumentBinder<Object,RabbitConsumerState> 
 
 -