hi all,
The following code segment is there with the DispatchPhase.java class.
if (isOneway(mepString)) {
Object requestResponseTransport =
msgContext.getProperty(
RequestResponseTransport.TRANSPORT_CONTROL);
if (requestResponseTransport != null) {
((RequestResponseTransport)
requestResponseTransport).acknowledgeMessage(msgContext);
}
}
Here the idea is to set the response as Accepted if the operation is one
way. This is correct according to the Axis2 logic.
But this gives a problem to RM (for piggy back model).
There it is supposed to send a response in the back channel for inonly
operations as well.
On the other hand only ServletRequestResponseTransport has done this. the
HttpCoreRequestResponseTransport and SimpleHTTPRequestResponseTransport has
not done this.
So shall we remove this? Any thoughts?
thanks,
Amila.
--
Amila Suriarachchi,
WSO2 Inc.