public class JMSSender extends AbstractTransportSender implements ManagementSupport
Handler.InvocationResponse
Modifier and Type | Field and Description |
---|---|
static String |
TRANSPORT_NAME |
cfgCtx, log, metrics
handlerDesc
Constructor and Description |
---|
JMSSender() |
Modifier and Type | Method and Description |
---|---|
void |
init(ConfigurationContext cfgCtx,
TransportOutDescription transportOut)
Initialize the transport sender by reading pre-defined connection factories for
outgoing messages.
|
void |
sendMessage(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, waitForSynchronousResponse
cleanup, 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
cleanup, flowComplete, getHandlerDesc, getName, getParameter, init
public static final String TRANSPORT_NAME
public void init(ConfigurationContext cfgCtx, TransportOutDescription transportOut) throws AxisFault
init
in interface TransportSender
init
in class AbstractTransportSender
cfgCtx
- the configuration contexttransportOut
- the transport sender definition from axis2.xmlAxisFault
- on errorpublic void stop()
stop
in interface TransportSender
stop
in class AbstractTransportSender
public void sendMessage(MessageContext msgCtx, String targetAddress, OutTransportInfo outTransportInfo) throws AxisFault
sendMessage
in class AbstractTransportSender
AxisFault
Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.