@FunctionalInterface
public interface Deserializer
Message
body to an instance of the specified type.Modifier and Type | Method and Description |
---|---|
default java.lang.Object |
deserialize(javax.jms.Message message)
Extract the body of the message into a sensible type.
|
<T> T |
deserialize(javax.jms.Message message,
java.lang.Class<T> clazz)
Extract the body of the message into the specified type.
|
default java.lang.Object deserialize(javax.jms.Message message)
message
- the message<T> T deserialize(javax.jms.Message message, java.lang.Class<T> clazz)
T
- the typemessage
- the messageclazz
- the type