Package io.micronaut.jms.serdes
Interface Deserializer
- All Known Implementing Classes:
 DefaultSerializerDeserializer
- Functional Interface:
 - This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
 
Extracts a 
Message body to an instance of the specified type.- Since:
 - 1.0.0
 - Author:
 - Elliott Pope
 
- 
Method Summary
Modifier and TypeMethodDescriptiondefault Objectdeserialize(javax.jms.Message message) Extract the body of the message into a sensible type.<T> Tdeserialize(javax.jms.Message message, Class<T> clazz) Extract the body of the message into the specified type. 
- 
Method Details
- 
deserialize
Extract the body of the message into a sensible type.- Parameters:
 message- the message- Returns:
 - the extracted message body as an instance of a sensible type
 
 - 
deserialize
Extract the body of the message into the specified type.- Type Parameters:
 T- the type- Parameters:
 message- the messageclazz- the type- Returns:
 - the extracted message body as an instance of the specified type
 
 
 -