|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axis2.handlers.AbstractHandler
org.apache.axis2.transport.jms.JMSSender
This is meant to be used on a SOAP Client to call a SOAP server.
Field Summary | |
protected static org.apache.commons.logging.Log |
log
|
Fields inherited from class org.apache.axis2.handlers.AbstractHandler |
handlerDesc |
Constructor Summary | |
JMSSender()
|
Method Summary | |
void |
cleanUp(MessageContext msgContext)
Clean up |
static void |
closeAllConnectors()
Closes all JMS connectors |
static void |
closeMatchingJMSConnectors(String endpointAddr,
String username,
String password)
Closes JMS connectors that match the specified endpoint address |
protected HashMap |
createApplicationProperties(MessageContext context)
Return a map of properties that makeup the application-specific for the JMS Messages. |
String |
getContentType(MessageContext msgCtx)
|
void |
init(ConfigurationContext confContext,
TransportOutDescription transportOut)
Initialize |
void |
invoke(MessageContext msgContext)
invoke() creates an endpoint, sends the request SOAP message, and then either reads the response SOAP message or simply returns. |
void |
setupTransport(MessageContext context,
String endpointAddr)
Set up any transport-specific derived properties in the message context. |
void |
shutdown()
Shuts down the connectors managed by this JMSTransport. |
void |
writeMessage(MessageContext msgContext,
OutputStream out)
|
Methods inherited from class org.apache.axis2.handlers.AbstractHandler |
cleanup, getHandlerDesc, getName, getParameter, init, revoke, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.axis2.engine.Handler |
cleanup, getHandlerDesc, getName, getParameter, init |
Field Detail |
protected static org.apache.commons.logging.Log log
Constructor Detail |
public JMSSender()
Method Detail |
public void cleanUp(MessageContext msgContext) throws AxisFault
TransportSender
cleanUp
in interface TransportSender
msgContext
-
AxisFault
public static void closeAllConnectors()
public static void closeMatchingJMSConnectors(String endpointAddr, String username, String password)
endpointAddr
- the JMS endpoint addressusername
- password
- protected HashMap createApplicationProperties(MessageContext context)
public void init(ConfigurationContext confContext, TransportOutDescription transportOut) throws AxisFault
TransportSender
init
in interface TransportSender
confContext
- transportOut
-
AxisFault
public void invoke(MessageContext msgContext) throws AxisFault
invoke
in interface Handler
msgContext
-
AxisFault
public void setupTransport(MessageContext context, String endpointAddr) throws AxisFault
context
- the context to set up
AxisFault
- if service cannot be foundpublic void shutdown()
public void writeMessage(MessageContext msgContext, OutputStream out) throws AxisFault
AxisFault
public String getContentType(MessageContext msgCtx)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |