org.springframework.cloud.aws.messaging.endpoint.annotation.NotificationSubscriptionMapping Java Examples

The following examples show how to use org.springframework.cloud.aws.messaging.endpoint.annotation.NotificationSubscriptionMapping. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ComplexNotificationTestController.java    From spring-cloud-aws with Apache License 2.0 4 votes vote down vote up
@NotificationSubscriptionMapping
void handleSubscriptionMessage(NotificationStatus status) throws IOException {
	// We subscribe to start receive the message
	status.confirmSubscription();
}
 
Example #2
Source File: NotificationTestController.java    From spring-cloud-aws with Apache License 2.0 4 votes vote down vote up
@NotificationSubscriptionMapping
void handleSubscriptionMessage(NotificationStatus status) throws IOException {
	// We subscribe to start receive the message
	status.confirmSubscription();
}
 
Example #3
Source File: SnsEndpointController.java    From aws-refapp with Apache License 2.0 4 votes vote down vote up
@NotificationSubscriptionMapping
public void confirmSubscription(NotificationStatus notificationStatus) {
    notificationStatus.confirmSubscription();
}
 
Example #4
Source File: SNSEndpointController.java    From tutorials with MIT License 4 votes vote down vote up
@NotificationSubscriptionMapping
public void confirmUnsubscribeMessage(NotificationStatus notificationStatus) {
    logger.info("Subscribed to Topic");
    notificationStatus.confirmSubscription();
}
 
Example #5
Source File: NotificationMethods.java    From spring-cloud-aws with Apache License 2.0 2 votes vote down vote up
@NotificationSubscriptionMapping
void subscriptionMethod(NotificationStatus notificationStatus) {

}