Class AmqpProviderFactory


  • public class AmqpProviderFactory
    extends ProviderFactory
    Factory for creating the AMQP provider.
    • Constructor Detail

      • AmqpProviderFactory

        public AmqpProviderFactory()
    • Method Detail

      • createProvider

        public AmqpProvider createProvider​(URI remoteURI)
                                    throws Exception
        Description copied from class: ProviderFactory
        Creates an instance of the given AsyncProvider and configures it using the properties set on the given remote broker URI.
        Specified by:
        createProvider in class ProviderFactory
        Parameters:
        remoteURI - The URI used to connect to a remote Broker.
        Returns:
        a new AsyncProvider instance.
        Throws:
        Exception - if an error occurs while creating the Provider instance.
      • getTransportScheme

        public String getTransportScheme()
      • setTransportScheme

        public void setTransportScheme​(String transportScheme)
        Parameters:
        transportScheme - the transport type name to use when creating a new provider.
      • getProviderScheme

        public String getProviderScheme()
      • setProviderScheme

        public void setProviderScheme​(String providerScheme)
        Parameters:
        providerScheme - the providerScheme to use to identify the AMQP provider