public class AmqpProviderFactory extends ProviderFactory
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_PROVIDER_SCHEME |
static String |
DEFAULT_TRANSPORT_SCHEME |
| Constructor and Description |
|---|
AmqpProviderFactory() |
| Modifier and Type | Method and Description |
|---|---|
AmqpProvider |
createProvider(URI remoteURI)
Creates an instance of the given AsyncProvider and configures it using the
properties set on the given remote broker URI.
|
AmqpProvider |
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.
|
String |
getName() |
String |
getProviderScheme() |
String |
getTransportScheme() |
void |
setProviderScheme(String providerScheme) |
void |
setTransportScheme(String transportScheme) |
create, create, findProviderFactory, findProviderFactorypublic static final String DEFAULT_TRANSPORT_SCHEME
public static final String DEFAULT_PROVIDER_SCHEME
public AmqpProvider createProvider(URI remoteURI) throws Exception
ProviderFactorycreateProvider in class ProviderFactoryremoteURI - The URI used to connect to a remote Broker.Exception - if an error occurs while creating the Provider instance.public AmqpProvider createProvider(URI remoteURI, ProviderFutureFactory futureFactory) throws Exception
ProviderFactorycreateProvider in class ProviderFactoryremoteURI - The URI used to connect to a remote Broker.futureFactory - The ProviderFutureFactory to use when creating the new Provider.Exception - if an error occurs while creating the Provider instance.public String getName()
getName in class ProviderFactorypublic String getTransportScheme()
public void setTransportScheme(String transportScheme)
transportScheme - the transport type name to use when creating a new provider.public String getProviderScheme()
public void setProviderScheme(String providerScheme)
providerScheme - the providerScheme to use to identify the AMQP providerCopyright © 2013–2019 The Apache Software Foundation. All rights reserved.