public class NotificationMessagingTemplate extends AbstractMessageChannelMessagingSendingTemplate<TopicMessageChannel>
CONVERSION_HINT_HEADER, logger| Constructor and Description |
|---|
NotificationMessagingTemplate(com.amazonaws.services.sns.AmazonSNS amazonSns) |
NotificationMessagingTemplate(com.amazonaws.services.sns.AmazonSNS amazonSns,
DestinationResolver<String> destinationResolver,
MessageConverter messageConverter) |
NotificationMessagingTemplate(com.amazonaws.services.sns.AmazonSNS amazonSns,
ResourceIdResolver resourceIdResolver) |
NotificationMessagingTemplate(com.amazonaws.services.sns.AmazonSNS amazonSns,
ResourceIdResolver resourceIdResolver,
MessageConverter messageConverter) |
| Modifier and Type | Method and Description |
|---|---|
protected TopicMessageChannel |
resolveMessageChannel(String physicalResourceIdentifier) |
void |
sendNotification(Object message,
String subject)
Convenience method that sends a notification with the given message and
subject to the destination.
|
void |
sendNotification(String destinationName,
Object message,
String subject)
Convenience method that sends a notification with the given message and
subject to the destination.
|
convertAndSend, convertAndSend, convertAndSend, convertAndSend, doSend, initMessageConverter, resolveMessageChannelByLogicalName, send, setDefaultDestinationNameconvertAndSend, convertAndSend, convertAndSend, convertAndSend, convertAndSend, convertAndSend, doConvert, getDefaultDestination, getMessageConverter, getRequiredDefaultDestination, processHeadersToSend, send, send, setDefaultDestination, setMessageConverterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconvertAndSend, convertAndSend, convertAndSend, convertAndSend, convertAndSend, convertAndSend, send, sendpublic NotificationMessagingTemplate(com.amazonaws.services.sns.AmazonSNS amazonSns)
public NotificationMessagingTemplate(com.amazonaws.services.sns.AmazonSNS amazonSns,
ResourceIdResolver resourceIdResolver)
public NotificationMessagingTemplate(com.amazonaws.services.sns.AmazonSNS amazonSns,
ResourceIdResolver resourceIdResolver,
MessageConverter messageConverter)
public NotificationMessagingTemplate(com.amazonaws.services.sns.AmazonSNS amazonSns,
DestinationResolver<String> destinationResolver,
MessageConverter messageConverter)
protected TopicMessageChannel resolveMessageChannel(String physicalResourceIdentifier)
resolveMessageChannel in class AbstractMessageChannelMessagingSendingTemplate<TopicMessageChannel>public void sendNotification(String destinationName, Object message, String subject)
destinationName - The logical name of the destinationmessage - The message to sendsubject - The subject to sendpublic void sendNotification(Object message, String subject)
message - The message to sendsubject - The subject to sendCopyright © 2021 Pivotal Software, Inc.. All rights reserved.