// if the send was successful, so remove it before we proceed any further
Stack faultStack = synapseOutMsgCtx.getFaultStack();
if (faultStack != null && !faultStack.isEmpty()
&& faultStack.peek() instanceof Endpoint) {
Endpoint successfulEndpoint = (Endpoint) faultStack.pop();
successfulEndpoint.onSuccess();
}
if (log.isDebugEnabled()) {
log.debug("Synapse received an asynchronous response message");
log.debug("Received To: " +
(response.getTo() != null ? response.getTo().getAddress() : "null"));