Package overit.geocall.event.consumer
Annotation Interface MessageConsumer
Annotation used to tag the
Spin to specify the deserializer that implements the interface MessageDeserializer
and the schema schema() class to use for the message-
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements
-
Element Details
-
deserializer
Class<? extends MessageDeserializer> deserializer- Returns:
- a
MessageDeserializerused to deserialize the message into the class defined onschema(). If not specified theJsonDeserializerwill be returned
- Default:
overit.geocall.event.consumer.JsonDeserializer.class
-
schema
Class<?> schema- Returns:
- a schema class for the data transfer object required
-