public class MailTransportSender extends AbstractTransportSender implements ManagementSupport
Handler.InvocationResponse
cfgCtx, log, metrics
handlerDesc
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, waitForSynchronousResponse
flowComplete, getHandlerDesc, getName, getParameter, init, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getActiveThreadCount, getAvgSizeReceived, getAvgSizeSent, getBytesReceived, getBytesSent, getFaultsReceiving, getFaultsSending, getLastResetTime, getMaxSizeReceived, getMaxSizeSent, getMessagesReceived, getMessagesSent, getMetricsWindow, getMinSizeReceived, getMinSizeSent, getQueueSize, getResponseCodeTable, getTimeoutsReceiving, getTimeoutsSending, maintenenceShutdown, pause, resetStatistics, resume
flowComplete, getHandlerDesc, getName, getParameter, init
public void init(ConfigurationContext cfgCtx, TransportOutDescription transportOut) throws AxisFault
init
in interface TransportSender
init
in class AbstractTransportSender
cfgCtx
- the axis2 configuration contexttransportOut
- the transport-out descriptionAxisFault
- on errorpublic void sendMessage(MessageContext msgCtx, String targetAddress, OutTransportInfo outTransportInfo) throws AxisFault
sendMessage
in class AbstractTransportSender
msgCtx
- the axis2 message contextAxisFault
- on errorpublic void stop()
stop
in interface TransportSender
stop
in class AbstractTransportSender
Copyright © 2004–2019 The Apache Software Foundation. All rights reserved.