Class AmqpProviderFactory

java.lang.Object
org.apache.qpid.jms.provider.ProviderFactory
org.apache.qpid.jms.provider.amqp.AmqpProviderFactory

public class AmqpProviderFactory extends ProviderFactory
Factory for creating the AMQP provider.
  • Field Details

  • Constructor Details

    • AmqpProviderFactory

      public AmqpProviderFactory()
  • Method Details

    • 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.
    • createProvider

      public AmqpProvider createProvider(URI remoteURI, ProviderFutureFactory futureFactory) 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.
      futureFactory - The ProviderFutureFactory to use when creating the new Provider.
      Returns:
      a new AsyncProvider instance.
      Throws:
      Exception - if an error occurs while creating the Provider instance.
    • getName

      public String getName()
      Specified by:
      getName in class ProviderFactory
      Returns:
      the name of this Provider.
    • 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