void onAddRcvDestination(final long registrationId, final String destinationChannel, final long correlationId)
    {
        if (destinationChannel.startsWith(IPC_CHANNEL))
        {
            onAddRcvIpcDestination(registrationId, destinationChannel, correlationId);
        }
        else if (destinationChannel.startsWith(SPY_QUALIFIER))
        {
            onAddRcvSpyDestination(registrationId, destinationChannel, correlationId);
        }
        else
        {
            onAddRcvNetworkDestination(registrationId, destinationChannel, correlationId);
        }
    }
@Test
    void shouldThrowExceptionWhenRcvDestinationHasControlModeResponseSet()
    {
        final Exception exception = assertThrowsExactly(InvalidChannelException.class,
            () -> driverConductor.onAddRcvDestination(5, "aeron:udp?control-mode=response", 7)
        );

        assertEquals(
            "ERROR - destinations may not specify " + MDC_CONTROL_MODE_PARAM_NAME + "=" + CONTROL_MODE_RESPONSE,
            exception.getMessage());
    }