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

The 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 - 2025 Weber Informatics LLC | Privacy Policy