Package io.atleon.rabbitmq
Class ByteArrayBodySerializer
- java.lang.Object
-
- io.atleon.rabbitmq.ByteArrayBodySerializer
-
- All Implemented Interfaces:
BodySerializer<byte[]>,io.atleon.util.Configurable
public class ByteArrayBodySerializer extends Object implements BodySerializer<byte[]>
-
-
Constructor Summary
Constructors Constructor Description ByteArrayBodySerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(Map<String,?> properties)SerializedBodyserialize(byte[] bytes)
-
-
-
Method Detail
-
configure
public void configure(Map<String,?> properties)
- Specified by:
configurein interfaceio.atleon.util.Configurable
-
serialize
public SerializedBody serialize(byte[] bytes)
- Specified by:
serializein interfaceBodySerializer<byte[]>
-
-