public class KryoMessageSerializer
extends java.lang.Object
implements org.springframework.data.redis.serializer.RedisSerializer<org.springframework.messaging.Message<?>>
Constructor and Description |
---|
KryoMessageSerializer() |
Modifier and Type | Method and Description |
---|---|
org.springframework.messaging.Message<?> |
deserialize(byte[] bytes) |
byte[] |
serialize(org.springframework.messaging.Message<?> message) |
public byte[] serialize(org.springframework.messaging.Message<?> message) throws org.springframework.data.redis.serializer.SerializationException
serialize
in interface org.springframework.data.redis.serializer.RedisSerializer<org.springframework.messaging.Message<?>>
org.springframework.data.redis.serializer.SerializationException
public org.springframework.messaging.Message<?> deserialize(byte[] bytes) throws org.springframework.data.redis.serializer.SerializationException
deserialize
in interface org.springframework.data.redis.serializer.RedisSerializer<org.springframework.messaging.Message<?>>
org.springframework.data.redis.serializer.SerializationException