public class JMSSender
extends org.apache.axis2.transport.base.AbstractTransportSender
implements org.apache.axis2.transport.base.ManagementSupport
| Modifier and Type | Field and Description |
|---|---|
static String |
TRANSPORT_NAME |
| Constructor and Description |
|---|
JMSSender() |
| Modifier and Type | Method and Description |
|---|---|
void |
init(org.apache.axis2.context.ConfigurationContext cfgCtx,
org.apache.axis2.description.TransportOutDescription transportOut)
Initialize the transport sender by reading pre-defined connection factories for
outgoing messages.
|
void |
sendMessage(org.apache.axis2.context.MessageContext msgCtx,
String targetAddress,
org.apache.axis2.transport.OutTransportInfo outTransportInfo)
Performs the actual sending of the JMS message
|
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, resumepublic static final String TRANSPORT_NAME
public void init(org.apache.axis2.context.ConfigurationContext cfgCtx,
org.apache.axis2.description.TransportOutDescription transportOut)
throws org.apache.axis2.AxisFault
init in interface org.apache.axis2.transport.TransportSenderinit in class org.apache.axis2.transport.base.AbstractTransportSendercfgCtx - the configuration contexttransportOut - the transport sender definition from axis2.xmlorg.apache.axis2.AxisFault - on errorpublic void stop()
stop in interface org.apache.axis2.transport.TransportSenderstop in class org.apache.axis2.transport.base.AbstractTransportSenderpublic void sendMessage(org.apache.axis2.context.MessageContext msgCtx,
String targetAddress,
org.apache.axis2.transport.OutTransportInfo outTransportInfo)
throws org.apache.axis2.AxisFault
sendMessage in class org.apache.axis2.transport.base.AbstractTransportSenderorg.apache.axis2.AxisFaultCopyright © 2004–2016 The Apache Software Foundation. All rights reserved.