Package io.micronaut.messaging.annotation
Messaging related annotations.
- Since:
- 1.0
-
Annotation Types Summary Annotation Type Description MessageBody An annotation that can be applied to method argument to indicate that the method argument is bound from message body.MessageHeader An annotation that can be applied to method argument to indicate that the method argument is bound from a message header.MessageHeaders This lets you declare several headers for a client class and have them always included.MessageListener Generic stereotype annotation that should be applied to other annotations that indicate to Micronaut, which classes are message listeners.MessageMapping Generic stereotype annotation that models a mapping of a message listener onto a target destination, whether that be a queue a topic or whatever.MessageProducer Generic messaging meta-annotation to indicate a type that is a message producer.SendTo An annotation that can be applied at the method level to indicate that return value of said method should be sent to given destination.