Skip to content

Commit 56119f4

Browse files
committed
fix: correct indentation for SqsProperties#getAutoStartup annotation
1 parent 4cfa70e commit 56119f4

File tree

1 file changed

+16
-1
lines changed
  • spring-cloud-aws-autoconfigure/src/main/java/io/awspring/cloud/autoconfigure/sqs

1 file changed

+16
-1
lines changed

spring-cloud-aws-autoconfigure/src/main/java/io/awspring/cloud/autoconfigure/sqs/SqsProperties.java

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,12 @@ public static class Listener {
115115
@Nullable
116116
private Duration maxDelayBetweenPolls;
117117

118+
/**
119+
* Defines whether SQS listeners will start automatically or not.
120+
*/
121+
@Nullable
122+
private Boolean autoStartup;
123+
118124
@Nullable
119125
public Integer getMaxConcurrentMessages() {
120126
return this.maxConcurrentMessages;
@@ -150,7 +156,16 @@ public Duration getMaxDelayBetweenPolls() {
150156
public void setMaxDelayBetweenPolls(Duration maxDelayBetweenPolls) {
151157
this.maxDelayBetweenPolls = maxDelayBetweenPolls;
152158
}
159+
160+
@Nullable
161+
public Boolean getAutoStartup() {
162+
return autoStartup;
163+
}
153164

165+
public void setAutoStartup(Boolean autoStartup) {
166+
this.autoStartup = autoStartup;
167+
}
168+
154169
}
155170

156171
/**
@@ -298,7 +313,7 @@ public int getScheduledExecutorPoolSize() {
298313
public void setScheduledExecutorPoolSize(int scheduledExecutorPoolSize) {
299314
this.scheduledExecutorPoolSize = scheduledExecutorPoolSize;
300315
}
301-
316+
302317
}
303318

304319
}

0 commit comments

Comments
 (0)