Hello!

Is there a way to cancel a delay in progress?

.delay(new Expression() {
    @Override
    public <T> T evaluate(Exchange exchange, Class<T> type) {
        return (T) getCurrentDelay();
    }
})

for example if the current delay expression returned one hour, but
after a few minutes it is not needed anymore?

something like getContext().getRouteById(rId).getDelayerById(dId).cancel()

Thanks!

Reply via email to