use of org.apache.axis2.receivers.AbstractInOutMessageReceiver in project wso2-axis2-transports by wso2.
the class AxisEchoEndpoint method createOperation.
@Override
protected InOutAxisOperation createOperation() {
InOutAxisOperation operation = new InOutAxisOperation(new QName("echo"));
operation.setMessageReceiver(new AbstractInOutMessageReceiver() {
@Override
public void invokeBusinessLogic(MessageContext inMessage, MessageContext outMessage) throws AxisFault {
outMessage.setEnvelope(inMessage.getEnvelope());
}
});
return operation;
}
Aggregations