@Component public class EmailDispatcher extends AbstractNotificationDispatcher<javax.mail.Message>
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_NUMBER_OF_EVENTS |
| Constructor and Description |
|---|
EmailDispatcher() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
generateMailContent(Subscription subscription,
Map<String,Object> params,
Event... events) |
protected String |
getDashboardBaseUrl() |
protected org.springframework.core.io.Resource |
getEmailTemplate() |
protected String |
getHelpdesk() |
NotificationMode |
getMode() |
protected String |
getPublicApi() |
protected void |
performAction(javax.mail.Message message) |
protected javax.mail.Message |
prepareAction(Subscription subscription,
Event... events) |
protected javax.mail.Message |
prepareAction(Subscription subscription,
Map<String,Object> params) |
protected void |
setDashboardBaseUrl(String dashboardBaseUrl) |
protected void |
setEmailTemplate(org.springframework.core.io.Resource emailTemplate) |
protected void |
setHelpdesk(String helpdesk) |
protected void |
setPublicApi(String publicApi) |
count, countErrors, getDispatcherName, init, lastError, resetCount, run, sendNotification, sendNotification, setBeanName, setDispatcherNamepublic static final int MAX_NUMBER_OF_EVENTS
protected javax.mail.Message prepareAction(Subscription subscription, Event... events) throws Exception
prepareAction in class AbstractNotificationDispatcher<javax.mail.Message>Exceptionprotected javax.mail.Message prepareAction(Subscription subscription, Map<String,Object> params) throws Exception
prepareAction in class AbstractNotificationDispatcher<javax.mail.Message>Exceptionprotected String generateMailContent(Subscription subscription, Map<String,Object> params, Event... events) throws IOException
IOExceptionprotected void performAction(javax.mail.Message message)
throws Exception
performAction in class AbstractNotificationDispatcher<javax.mail.Message>Exceptionpublic NotificationMode getMode()
protected org.springframework.core.io.Resource getEmailTemplate()
protected void setEmailTemplate(org.springframework.core.io.Resource emailTemplate)
protected String getDashboardBaseUrl()
protected void setDashboardBaseUrl(String dashboardBaseUrl)
protected String getHelpdesk()
protected void setHelpdesk(String helpdesk)
protected String getPublicApi()
protected void setPublicApi(String publicApi)
Copyright © 2025. All rights reserved.