All Downloads are FREE. Search and download functionalities are using the official Maven repository.

pl.allegro.tech.hermes.common.message.wrapper.SchemaAwarePayload Maven / Gradle / Ivy

There is a newer version: 2.7.0
Show newest version
package pl.allegro.tech.hermes.common.message.wrapper;

import pl.allegro.tech.hermes.schema.SchemaId;

public class SchemaAwarePayload {
    private final byte[] payload;
    private final SchemaId schemaId;

    public SchemaAwarePayload(byte[] payload, SchemaId schemaId) {
        this.payload = payload;
        this.schemaId = schemaId;
    }

    public byte[] getPayload() {
        return payload;
    }

    public SchemaId getSchemaId() {
        return schemaId;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy