Class AmqpProviderFactory
java.lang.Object
org.apache.qpid.jms.provider.ProviderFactory
org.apache.qpid.jms.provider.amqp.AmqpProviderFactory
Factory for creating the AMQP provider.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateProvider(URI remoteURI) Creates an instance of the given AsyncProvider and configures it using the properties set on the given remote broker URI.createProvider(URI remoteURI, ProviderFutureFactory futureFactory) Creates an instance of the given AsyncProvider and configures it using the properties set on the given remote broker URI.getName()voidsetProviderScheme(String providerScheme) voidsetTransportScheme(String transportScheme) Methods inherited from class org.apache.qpid.jms.provider.ProviderFactory
create, create, findProviderFactory, findProviderFactory
-
Field Details
-
DEFAULT_TRANSPORT_SCHEME
- See Also:
-
DEFAULT_PROVIDER_SCHEME
- See Also:
-
-
Constructor Details
-
AmqpProviderFactory
public AmqpProviderFactory()
-
-
Method Details
-
createProvider
Description copied from class:ProviderFactoryCreates an instance of the given AsyncProvider and configures it using the properties set on the given remote broker URI.- Specified by:
createProviderin classProviderFactory- 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:ProviderFactoryCreates an instance of the given AsyncProvider and configures it using the properties set on the given remote broker URI.- Specified by:
createProviderin classProviderFactory- Parameters:
remoteURI- The URI used to connect to a remote Broker.futureFactory- TheProviderFutureFactoryto use when creating the newProvider.- Returns:
- a new AsyncProvider instance.
- Throws:
Exception- if an error occurs while creating the Provider instance.
-
getName
- Specified by:
getNamein classProviderFactory- Returns:
- the name of this Provider.
-
getTransportScheme
-
setTransportScheme
- Parameters:
transportScheme- the transport type name to use when creating a new provider.
-
getProviderScheme
-
setProviderScheme
- Parameters:
providerScheme- the providerScheme to use to identify the AMQP provider
-