public void onSuccess() { if (getContext() != null) { getContext().onSuccess(); } }
public void onSuccess() { if (getContext() != null) { getContext().onSuccess(); } }
public void onFault(MessageContext synCtx) { // is this really a fault or a timeout/connection close etc? if (isTimeout(synCtx)) { getContext().onTimeout(); } else if (isSuspendFault(synCtx)) { getContext().onFault(); } // this should be an ignored error if we get here setErrorOnMessage(synCtx, null, null); super.onFault(synCtx); }
public void onFault(MessageContext synCtx) { // For setting Car name (still for Proxy) logSetter(); // is this really a fault or a timeout/connection close etc? if (isTimeout(synCtx)) { getContext().onTimeout(); } else if (isSuspendFault(synCtx)) { getContext().onFault(); } // this should be an ignored error if we get here 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 , Address endpoint : " + getContext()); } else { super.send(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 , Address endpoint : " + getContext()); } else { super.send(synCtx); } } }