Package overit.geocall.event.consumer
Interface MessageDeserializer<T>
- All Known Implementing Classes:
JsonDeserializer
public interface MessageDeserializer<T>
Deserializer for generic message objects.
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize(String message, Class<T> classMessage) Deserialize the body of the message with the type passed as a parameter
-
Method Details
-
deserialize
Deserialize the body of the message with the type passed as a parameter- Parameters:
message- body of the message serialized as stringclassMessage- class of the message that will be returned after deserialization- Returns:
- the object of the message deserialized
- Throws:
SpinException- if an exception is thrown during the deserialization
-