Class FailoverProviderFactory
java.lang.Object
org.apache.qpid.jms.provider.ProviderFactory
org.apache.qpid.jms.provider.failover.FailoverProviderFactory
Factory for creating instances of the Failover Provider type.
-
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()Methods inherited from class org.apache.qpid.jms.provider.ProviderFactory
create, create, findProviderFactory, findProviderFactory
-
Field Details
-
FAILOVER_OPTION_PREFIX
Prefix used for all properties that apply specifically to the FailoverProvider- See Also:
-
FAILOVER_NESTED_OPTION_PREFIX_ADDON
Prefix addition used for all nested properties that should be applied to any remote URIs.- See Also:
-
-
Constructor Details
-
FailoverProviderFactory
public FailoverProviderFactory()
-
-
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
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.
-