Package overit.geocall.event.consumer
Annotation Interface EventConsumer
@Target(TYPE)
@Retention(RUNTIME)
@Documented
@Deprecated(forRemoval=true,
since="13.0")
public @interface EventConsumer
Deprecated, for removal: This API element is subject to removal in a future version.
Annotation used to tag the
Spin to specify the deserializer that implements the interface MessageDeserializer
and the schema MessageConsumer.schema() class to use for the message-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionClass<? extends MessageDeserializer> Deprecated, for removal: This API element is subject to removal in a future version.
-
Element Details
-
deserializer
Class<? extends MessageDeserializer> deserializerDeprecated, for removal: This API element is subject to removal in a future version.- Returns:
- a
MessageDeserializerused to deserialize the message into the class defined onMessageConsumer.schema(). If not specified theJsonDeserializerwill be returned
- Default:
overit.geocall.event.consumer.JsonDeserializer.class
-
schema
Class<?> schemaDeprecated, for removal: This API element is subject to removal in a future version.- Returns:
- a schema class for the data transfer object required
-
MessageConsumerinstead