public class SQSCommonConfig extends CommonConfig<com.amazonaws.services.sqs.AmazonSQSClient>
clientBuilder
Constructor and Description |
---|
SQSCommonConfig() |
Modifier and Type | Method and Description |
---|---|
void |
disconnect() |
protected CommonRegion |
getConfigRegion() |
String |
getConnectionId() |
String |
getDefaultQueueName() |
protected CommonRegion |
getDefaultRegion() |
RegionEndpoint |
getRegion() |
String |
getUrl() |
String |
getUrl(String queueUrl) |
boolean |
isConnected() |
protected void |
setClientBuilder() |
void |
setDefaultQueueName(String defaultQueueName) |
void |
setRegion(RegionEndpoint region) |
void |
setUrl(String queueUrl) |
getAsyncClient, getClientBuilder, getConnectionTimeout, getProtocol, getProxyDomain, getProxyHost, getProxyPassword, getProxyPort, getProxyUsername, getProxyWorkstation, getSocketTimeout, getSyncClient, setConnectionTimeout, setProtocol, setProxyDomain, setProxyHost, setProxyPassword, setProxyPort, setProxyUsername, setProxyWorkstation, setSocketTimeout
protected void setClientBuilder()
setClientBuilder
in class CommonConfig<com.amazonaws.services.sqs.AmazonSQSClient>
protected CommonRegion getConfigRegion()
getConfigRegion
in class CommonConfig<com.amazonaws.services.sqs.AmazonSQSClient>
protected CommonRegion getDefaultRegion()
getDefaultRegion
in class CommonConfig<com.amazonaws.services.sqs.AmazonSQSClient>
@ConnectionIdentifier public String getConnectionId()
public void setUrl(String queueUrl)
public String getUrl()
public String getUrl(String queueUrl) throws SQSConnectorException
SQSConnectorException
public RegionEndpoint getRegion()
public void setRegion(RegionEndpoint region)
public String getDefaultQueueName()
public void setDefaultQueueName(String defaultQueueName)
@Disconnect public void disconnect()
@ValidateConnection public boolean isConnected()
Copyright © 2010–2020. All rights reserved.