public boolean canRetry(int errorCode) {
        return retryPolicy.canRetry(errorCode);
    }
Returns whether or not the current {@link RetryPolicy} supports resending a {@link Reply} that contains an error
with the given error code.

@param errorCode The code to check.
@return True if the message can be resent.
messagebus/src/main/java/com/yahoo/messagebus/routing/Resender.java