public abstract class DefaultSnsMessageHandler extends SnsMessageHandler
SnsNotification
(which must
be implemented in handlers that extend this class).Constructor and Description |
---|
DefaultSnsMessageHandler() |
Modifier and Type | Method and Description |
---|---|
void |
handle(SnsSubscriptionConfirmation message)
Confirms the subscription when message is received.
|
void |
handle(SnsUnknownMessage message)
Does nothing by default.
|
void |
handle(SnsUnsubscribeConfirmation message)
Does nothing by default.
|
handle
public void handle(SnsSubscriptionConfirmation message)
handle
in class SnsMessageHandler
message
- Message object.public void handle(SnsUnsubscribeConfirmation message)
handle
in class SnsMessageHandler
message
- Message object.public void handle(SnsUnknownMessage message)
handle
in class SnsMessageHandler
message
- Message object.Copyright © 2022. All rights reserved.