if (operationContext!=null) {
MessageContext requestMessage = operationContext.getMessageContext(OperationContextFactory.MESSAGE_LABEL_OUT_VALUE);
if (requestMessage!=null) {
if(SandeshaUtil.isRetriableOnFaults(requestMessage)){
SandeshaListener faultCallback = (SandeshaListener) operationContext.getProperty(SandeshaClientConstants.SANDESHA_LISTENER);
if (faultCallback!=null) {
//constructing the fault
AxisFault axisFault = getAxisFaultFromFromSOAPFault (faultPart);
//reporting the fault
log.error(axisFault);
if (faultCallback!=null) {
faultCallback.onError(axisFault);
}
}
//stopping the fault from going further and getting dispatched