@Override
    public Consumer createConsumer(final Processor processor) {
        throw new IllegalStateException("Dynamic Router is a producer-only component");
    }
@Test
    void createConsumerError() {
        assertThrows(IllegalStateException.class, () -> endpoint.createConsumer(processor));
    }