
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