org.apache.sandesha.client
Class RMSender

java.lang.Object
  extended byBasicHandler
      extended byorg.apache.sandesha.client.RMSender

public class RMSender
extends BasicHandler

In the client side of axis there is a flexibility of using custom sender to send SOAP messages. However axis's use of senders are mainly to handle transport related funtionalites. RMSenderhas to be used by the users who wish to use WS-ReliableMessaging capability in their clients.

The main funtionality of RMSender is to insert the messages coming from client and also the generated messages to the SandeshaQueue. If the message coming in from the client is request/response in nature then RMSender will wait polling SandeshaQueue till it gets an appropriate response. Due to the above reason, if the client is sending several messages (of request/response in nature) to be sent reliably, they will be sent reliably by Sandesha however the client will wait at each message till it gets the response, to send the next. To avoid this client can use callbacks provided by axis in org.apache.axis.client.async package.

See Also:
Serialized Form

Constructor Summary
RMSender()
           
 
Method Summary
 void invoke(MessageContext msgContext)
          This is the main method that is invoked by the axis engine.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMSender

public RMSender()
Method Detail

invoke

public void invoke(MessageContext msgContext)
            throws AxisFault
This is the main method that is invoked by the axis engine. This method will add the reqest messages from the client to SandeshaQueue with the generated messages such as Create Sequence message and Terminate Sequence message.

Parameters:
msgContext -
Throws:
AxisFault