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

org.kasource.spring.nats.NatsResponse Maven / Gradle / Ivy

The newest version!
package org.kasource.spring.nats;

import io.nats.client.Message;

public class NatsResponse {
    private final T payload;
    private final Message message;

    public NatsResponse(final T payload, final Message message) {
        this.payload = payload;
        this.message = message;
    }

    public T getPayload() {
        return payload;
    }

    public Message getMessage() {
        return message;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy