@Configuration
public class MailServiceBeans
extends java.lang.Object
Constructor and Description |
---|
MailServiceBeans() |
Modifier and Type | Method and Description |
---|---|
FailedMailHandler |
failedMailHandler(MailEnv env) |
TaskFileStore<MailId> |
failedMailStore(MailConfigSource config) |
MailEnv |
mailEnv(MailConfigSource config,
ChannelSource<QueuedMail> mailSourceChannel,
TaskFileStore<MailId> failedMailStore) |
MailProcessor |
mailProcessor(MailEnv env) |
MailRequestor |
mailRequestor(MailEnv env) |
@Bean public TaskFileStore<MailId> failedMailStore(MailConfigSource config)
@Bean public MailEnv mailEnv(MailConfigSource config, ChannelSource<QueuedMail> mailSourceChannel, TaskFileStore<MailId> failedMailStore)
@Bean public MailRequestor mailRequestor(MailEnv env)
@Bean public MailProcessor mailProcessor(MailEnv env)
@Bean public FailedMailHandler failedMailHandler(MailEnv env)