@Override
    public void reject(final E e, final Queue<E> queue) {
        queue.poll();
        queue.offer(e);
    }
A handler for rejected element that discards the oldest element.
shenyu-common/src/main/java/org/apache/shenyu/common/concurrent/DiscardOldestPolicy.java