public void onSuccess() { getContext().onSuccess(); }
public void onSuccess() { getContext().onSuccess(); }
public void onFault(MessageContext synCtx) { // is this an actual leaf endpoint if (getParentEndpoint() != null) { // is this really a fault or a timeout/connection close etc? if (isTimeout(synCtx)) { getContext().onTimeout(); } else if (isSuspendFault(synCtx)) { getContext().onFault(); } } setErrorOnMessage(synCtx, null, null); super.onFault(synCtx); }
public void send(MessageContext synCtx) { if (getParentEndpoint() == null && !readyToSend()) { // if the this leaf endpoint is too a root endpoint and is in inactive informFailure(synCtx, SynapseConstants.ENDPOINT_ADDRESS_NONE_READY, "Currently , WSDL endpoint : " + getContext()); } else { super.send(synCtx); } }
public void onFault(MessageContext synCtx) { // For setting Car name (still for Proxy) logSetter(); // is this an actual leaf endpoint if (getParentEndpoint() != null) { // is this really a fault or a timeout/connection close etc? if (isTimeout(synCtx)) { getContext().onTimeout(); } else if (isSuspendFault(synCtx)) { getContext().onFault(); } } setErrorOnMessage(synCtx, null, null); super.onFault(synCtx); }
public void send(MessageContext synCtx) { // For setting Car name (still for Proxy) logSetter(); if (getParentEndpoint() == null && !readyToSend()) { // if the this leaf endpoint is too a root endpoint and is in inactive informFailure(synCtx, SynapseConstants.ENDPOINT_ADDRESS_NONE_READY, "Currently , WSDL endpoint : " + getContext()); } else { super.send(synCtx); } }