| Constructor and Description |
|---|
SnsMessage(com.amazonaws.services.sns.message.SnsNotification snsNotification)
Constructor for AWS SNS.
|
SnsMessage(String payload)
Constructor for fake SNS.
|
| Modifier and Type | Method and Description |
|---|---|
CompletionStage<Void> |
ack()
Acknowledge this message.
|
Supplier<CompletionStage<Void>> |
getAck() |
String |
getPayload() |
String |
getSubject()
Get message subject of SNS notification.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddMetadata, getMetadata, getMetadata, getNack, nack, of, of, of, of, of, of, of, of, of, unwrap, withAck, withMetadata, withMetadata, withNack, withPayloadpublic SnsMessage(com.amazonaws.services.sns.message.SnsNotification snsNotification)
snsNotification - the notification, must not be nullpublic SnsMessage(String payload)
payload - the payload.public CompletionStage<Void> ack()
Messagepublic Supplier<CompletionStage<Void>> getAck()
getAck in interface Message<String>CompletionStage.public String getPayload()
getPayload in interface Message<String>public String getSubject()
Copyright © 2018–2021 SmallRye. All rights reserved.