public class QueuingTransmitter extends Object implements Transmitter, MailProcessorFactory
Constructor and Description |
---|
QueuingTransmitter() |
Modifier and Type | Method and Description |
---|---|
MailProcessor |
create(Mail mail) |
void |
setImmediateSender(ImmediateSender immediateSender) |
void |
setLogIdFactory(LogIdFactory logIdFactory)
configuration
|
void |
setQueue(ScheduleFileDirQueue queue)
configuration
|
void |
setRetryPolicy(RetryPolicy retryPolicy)
configuration
|
void |
setSummary(TransmitterSummary summary) |
void |
transmit(Mail mail)
Sends mail asynchronously.
|
public void transmit(Mail mail) throws QueueStorageException
Transmitter
transmit
in interface Transmitter
QueueStorageException
public MailProcessor create(Mail mail)
create
in interface MailProcessorFactory
public void setQueue(ScheduleFileDirQueue queue)
public void setImmediateSender(ImmediateSender immediateSender)
public void setRetryPolicy(RetryPolicy retryPolicy)
public void setLogIdFactory(LogIdFactory logIdFactory)
public void setSummary(TransmitterSummary summary)