File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed
spring-cloud-aws-autoconfigure/src/main/java/io/awspring/cloud/autoconfigure/sqs Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments