org.apache.sandesha.client
Class RMSender
java.lang.Object
BasicHandler
org.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.
RMSender
has 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
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 |
RMSender
public RMSender()
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