org.apache.axis2.transport.jms
Class JMSSender

java.lang.Object
  extended by org.apache.axis2.handlers.AbstractHandler
      extended by org.apache.axis2.transport.jms.JMSSender
All Implemented Interfaces:
Handler, TransportSender

public class JMSSender
extends AbstractHandler
implements TransportSender

The TransportSender for JMS


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.axis2.engine.Handler
Handler.InvocationResponse
 
Field Summary
 
Fields inherited from class org.apache.axis2.handlers.AbstractHandler
handlerDesc
 
Constructor Summary
JMSSender()
           
 
Method Summary
 void cleanup(MessageContext msgContext)
          Clean up
 void init(ConfigurationContext confContext, TransportOutDescription transportOut)
          Initialize
 Handler.InvocationResponse invoke(MessageContext msgContext)
          Performs the actual sending of the JMS message
 void stop()
           
 
Methods inherited from class org.apache.axis2.handlers.AbstractHandler
cleanup, flowComplete, getHandlerDesc, getName, getParameter, init, 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, flowComplete, getHandlerDesc, getName, getParameter, init
 

Constructor Detail

JMSSender

public JMSSender()
Method Detail

invoke

public Handler.InvocationResponse invoke(MessageContext msgContext)
                                  throws AxisFault
Performs the actual sending of the JMS message

Specified by:
invoke in interface Handler
Parameters:
msgContext - the message context to be sent
Returns:
An InvocationResponse that indicates what the next step in the message processing should be.
Throws:
AxisFault - on exception

cleanup

public void cleanup(MessageContext msgContext)
             throws AxisFault
Description copied from interface: TransportSender
Clean up

Specified by:
cleanup in interface TransportSender
Throws:
AxisFault

init

public void init(ConfigurationContext confContext,
                 TransportOutDescription transportOut)
          throws AxisFault
Description copied from interface: TransportSender
Initialize

Specified by:
init in interface TransportSender
Throws:
AxisFault

stop

public void stop()
Specified by:
stop in interface TransportSender


Copyright © 2007 Apache Web Services Project. All Rights Reserved.