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 |
cfgCtx, log, metrics| 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,
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, waitForSynchronousResponsecleanup, flowComplete, 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 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 TransportSenderstop in class org.apache.axis2.transport.base.AbstractTransportSenderpublic void sendMessage(org.apache.axis2.context.MessageContext msgCtx,
String targetAddress,
OutTransportInfo outTransportInfo)
throws org.apache.axis2.AxisFault
sendMessage in class org.apache.axis2.transport.base.AbstractTransportSenderorg.apache.axis2.AxisFaultCopyright © 2004–2015 The Apache Software Foundation. All rights reserved.