Interface MessageSender
- All Known Implementing Classes:
AbstractMessageSender,JavaMailMessageSender,LoggingMessageSender,SendGridMessageSender,SESMessageSender,TwilioMessageSender
public interface MessageSender
A MessageSender is responsible for actually delivering a Notification.
Should throw a
SendNotificationException or other {@link RuntimeException, if the message
delivery has an error and an attempt to resend might result in a duplicate message being sent.
For errors that will not risk sending a duplicate message and that might be successful in a
subsequent attempt, the Sender should throw aRetriableNotificationException-
Method Summary
Modifier and TypeMethodDescriptionvoidsendMessage(Notification notification, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
-
Method Details
-
sendMessage
void sendMessage(Notification notification, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
-