
org.bk.aws.messaging.MessageWithDeleteHandle Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws-sdk2-reactive-messaging Show documentation
Show all versions of aws-sdk2-reactive-messaging Show documentation
Generate a reactive stream from AWS SNS/SQS
The newest version!
package org.bk.aws.messaging;
import reactor.core.publisher.Mono;
public class MessageWithDeleteHandle {
private final ContentMessage message;
// Represents computation to delete a message from an SQS queue
// this is lazily invoked as part of the reactive streams subscription flow
private final Mono deleteHandle;
public MessageWithDeleteHandle(ContentMessage message, Mono deleteHandle) {
this.message = message;
this.deleteHandle = deleteHandle;
}
public ContentMessage getMessage() {
return message;
}
public Mono getDeleteHandle() {
return deleteHandle;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy