public class MailTransportSender extends AbstractTransportSender implements ManagementSupport
Handler.InvocationResponsecfgCtx, log, metricshandlerDesc| Constructor and Description |
|---|
MailTransportSender()
The public constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
init(ConfigurationContext cfgCtx,
TransportOutDescription transportOut)
Initialize the Mail sender and be ready to send messages
|
void |
sendMessage(MessageContext msgCtx,
String targetAddress,
OutTransportInfo outTransportInfo)
Send the given message over the Mail transport
|
void |
stop() |
cleanup, createResponseMessageContext, getActiveThreadCount, getAvgSizeReceived, getAvgSizeSent, getBytesReceived, getBytesSent, getFaultsReceiving, getFaultsSending, getLastResetTime, getMaxSizeReceived, getMaxSizeSent, getMessagesReceived, getMessagesSent, getMetricsWindow, getMinSizeReceived, getMinSizeSent, getQueueSize, getResponseCodeTable, getTimeoutsReceiving, getTimeoutsSending, getTransportName, handleException, handleException, handleIncomingMessage, invoke, logException, maintenenceShutdown, pause, resetStatistics, resume, waitForSynchronousResponseflowComplete, getHandlerDesc, getName, getParameter, init, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetActiveThreadCount, getAvgSizeReceived, getAvgSizeSent, getBytesReceived, getBytesSent, getFaultsReceiving, getFaultsSending, getLastResetTime, getMaxSizeReceived, getMaxSizeSent, getMessagesReceived, getMessagesSent, getMetricsWindow, getMinSizeReceived, getMinSizeSent, getQueueSize, getResponseCodeTable, getTimeoutsReceiving, getTimeoutsSending, maintenenceShutdown, pause, resetStatistics, resumeflowComplete, getHandlerDesc, getName, getParameter, initpublic void init(ConfigurationContext cfgCtx, TransportOutDescription transportOut) throws AxisFault
init in interface TransportSenderinit in class AbstractTransportSendercfgCtx - the axis2 configuration contexttransportOut - the transport-out descriptionAxisFault - on errorpublic void sendMessage(MessageContext msgCtx, String targetAddress, OutTransportInfo outTransportInfo) throws AxisFault
sendMessage in class AbstractTransportSendermsgCtx - the axis2 message contextAxisFault - on errorpublic void stop()
stop in interface TransportSenderstop in class AbstractTransportSenderCopyright © 2004–2018 The Apache Software Foundation. All rights reserved.