
entry-point.sqs.sqs-properties.mustache Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scaffold-clean-architecture Show documentation
Show all versions of scaffold-clean-architecture Show documentation
Gradle plugin to create a clean application in Java that already works, It follows our best practices!
package {{package}}.sqs.listener.config;
{{#lombok}}
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
{{/lombok}}
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
{{#lombok}}
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
{{/lombok}}
@Configuration
@ConfigurationProperties(prefix = "entrypoint.sqs")
public class SQSProperties {
private String region;
private String queueUrl;
private String endpoint;
private int waitTimeSeconds;
private int maxNumberOfMessages;
private int visibilityTimeoutSeconds;
private int numberOfThreads;
{{^lombok}}
public SQSProperties() {
}
public String getRegion() {
return region;
}
public void setRegion(String region) {
this.region = region;
}
public String getEndpoint() {
return endpoint;
}
public void setEndpoint(String endpoint) {
this.endpoint = endpoint;
}
public String getQueueUrl() {
return queueUrl;
}
public void setQueueUrl(String queueUrl) {
this.queueUrl = queueUrl;
}
public int getWaitTimeSeconds() {
return waitTimeSeconds;
}
public void setWaitTimeSeconds(int waitTimeSeconds) {
this.waitTimeSeconds = waitTimeSeconds;
}
public int getMaxNumberOfMessages() {
return maxNumberOfMessages;
}
public void setMaxNumberOfMessages(int maxNumberOfMessages) {
this.maxNumberOfMessages = maxNumberOfMessages;
}
public int getVisibilityTimeoutSeconds() {
return visibilityTimeoutSeconds;
}
public void setVisibilityTimeoutSeconds(int visibilityTimeoutSeconds) {
this.visibilityTimeoutSeconds = visibilityTimeoutSeconds;
}
public int getNumberOfThreads() {
return numberOfThreads;
}
public void setNumberOfThreads(int numberOfThreads) {
this.numberOfThreads = numberOfThreads;
}
{{/lombok}}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy