public interface GooglePubsubSerializer
| Modifier and Type | Method and Description |
|---|---|
byte[] |
serialize(Object payload)
Serializes an object payload to a byte array.
|
byte[] serialize(Object payload) throws IOException
payload - The payload to serializeIOException - If the serialization process encountered errorsApache Camel