public class AmqpServiceInfo extends UriBasedServiceInfo
ServiceInfo.ServiceLabel, ServiceInfo.ServiceProperty
Modifier and Type | Field and Description |
---|---|
static String |
AMQP_SCHEME |
static String |
AMQPS_SCHEME |
id
Constructor and Description |
---|
AmqpServiceInfo(String id,
String uri) |
AmqpServiceInfo(String id,
String host,
int port,
String username,
String password,
String virtualHost) |
AmqpServiceInfo(String id,
String host,
int port,
String username,
String password,
String virtualHost,
String managementUri) |
AmqpServiceInfo(String id,
String uri,
String managementUri) |
AmqpServiceInfo(String id,
String uri,
String managementUri,
List<String> uris,
List<String> managementUris) |
Modifier and Type | Method and Description |
---|---|
String |
getManagementUri() |
List<String> |
getManagementUris() |
int |
getPort() |
List<String> |
getUris() |
String |
getVirtualHost() |
protected UriInfo |
validateAndCleanUriInfo(UriInfo uriInfo)
Validate the URI and clean it up by using defaults for any missing information, if possible.
|
getHost, getPassword, getPath, getQuery, getScheme, getSchemeSpecificPart, getUri, getUriInfo, getUriInfoFactory, getUserName, toString
getId
public static final String AMQP_SCHEME
public static final String AMQPS_SCHEME
public AmqpServiceInfo(String id, String host, int port, String username, String password, String virtualHost)
public AmqpServiceInfo(String id, String host, int port, String username, String password, String virtualHost, String managementUri)
public AmqpServiceInfo(String id, String uri, String managementUri, List<String> uris, List<String> managementUris)
public AmqpServiceInfo(String id, String uri) throws CloudException
CloudException
public AmqpServiceInfo(String id, String uri, String managementUri) throws CloudException
CloudException
public String getVirtualHost()
public String getManagementUri()
public int getPort()
getPort
in class UriBasedServiceInfo
protected UriInfo validateAndCleanUriInfo(UriInfo uriInfo)
UriBasedServiceInfo
validateAndCleanUriInfo
in class UriBasedServiceInfo
uriInfo
- uri info based on parsed payload