public class FailoverProviderFactory extends ProviderFactory
Modifier and Type | Field and Description |
---|---|
static String |
FAILOVER_NESTED_OPTION_PREFIX_ADDON
Prefix addition used for all nested properties that should be applied to any remote URIs.
|
static String |
FAILOVER_OPTION_PREFIX
Prefix used for all properties that apply specifically to the FailoverProvider
|
Constructor and Description |
---|
FailoverProviderFactory() |
Modifier and Type | Method and Description |
---|---|
Provider |
createProvider(URI remoteURI)
Creates an instance of the given AsyncProvider and configures it using the
properties set on the given remote broker URI.
|
String |
getName() |
create, findProviderFactory
public static final String FAILOVER_OPTION_PREFIX
public static final String FAILOVER_NESTED_OPTION_PREFIX_ADDON
public Provider createProvider(URI remoteURI) throws Exception
ProviderFactory
createProvider
in class ProviderFactory
remoteURI
- The URI used to connect to a remote Broker.Exception
- if an error occurs while creating the Provider instance.public String getName()
getName
in class ProviderFactory
Copyright © 2013–2016 The Apache Software Foundation. All rights reserved.