public class AmqpProviderFactory extends ProviderFactory
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_TRANSPORT_TYPE |
Constructor and Description |
---|
AmqpProviderFactory() |
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() |
String |
getTransportType() |
void |
setTransportType(String transportType) |
create, findProviderFactory
public static final String DEFAULT_TRANSPORT_TYPE
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
public String getTransportType()
public void setTransportType(String transportType)
transportType
- the transport type name to use when creating a new provider.Copyright © 2013–2016 The Apache Software Foundation. All rights reserved.