public static ReceiveChannelEndpointSupplier receiveChannelEndpointSupplier()
    {
        ReceiveChannelEndpointSupplier supplier = null;
        try
        {
            final String className = getProperty(RECEIVE_CHANNEL_ENDPOINT_SUPPLIER_PROP_NAME);
            if (null == className)
            {
                return new DefaultReceiveChannelEndpointSupplier();
            }

            supplier = (ReceiveChannelEndpointSupplier)Class.forName(className).getConstructor().newInstance();
        }
        catch (final Exception ex)
        {
            LangUtil.rethrowUnchecked(ex);
        }

        return supplier;
    }
public static ReceiveChannelEndpointSupplier receiveChannelEndpointSupplier()
    {
        ReceiveChannelEndpointSupplier supplier = null;
        try
        {
            final String className = getProperty(RECEIVE_CHANNEL_ENDPOINT_SUPPLIER_PROP_NAME);
            if (null == className)
            {
                return new DefaultReceiveChannelEndpointSupplier();
            }

            supplier = (ReceiveChannelEndpointSupplier)Class.forName(className).getConstructor().newInstance();
        }
        catch (final Exception ex)
        {
            LangUtil.rethrowUnchecked(ex);
        }

        return supplier;
    }
public static ReceiveChannelEndpointSupplier receiveChannelEndpointSupplier ( ) { ReceiveChannelEndpointSupplier supplier = null ; try { final String className = getProperty ( RECEIVE_CHANNEL_ENDPOINT_SUPPLIER_PROP_NAME ) ; if ( null == className ) { return new DefaultReceiveChannelEndpointSupplier ( ) ; } supplier = ( ReceiveChannelEndpointSupplier ) Class . forName ( className ) . getConstructor ( ) . newInstance ( ) ; } catch ( final Exception ex ) { LangUtil . rethrowUnchecked ( ex ) ; } return supplier ; }
Get the supplier of {@link ReceiveChannelEndpoint}s which can be used for
debugging, monitoring, or modifying the behaviour when receiving from the channel.

@return the {@link SendChannelEndpointSupplier}.
Get the supplier of { @link ReceiveChannelEndpoint } s which can be used for debugging monitoring or modifying the behaviour when receiving from the channel .