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 {
115
115
@ Nullable
116
116
private Duration maxDelayBetweenPolls ;
117
117
118
+ /**
119
+ * Defines whether SQS listeners will start automatically or not.
120
+ */
121
+ @ Nullable
122
+ private Boolean autoStartup ;
123
+
118
124
@ Nullable
119
125
public Integer getMaxConcurrentMessages () {
120
126
return this .maxConcurrentMessages ;
@@ -150,7 +156,16 @@ public Duration getMaxDelayBetweenPolls() {
150
156
public void setMaxDelayBetweenPolls (Duration maxDelayBetweenPolls ) {
151
157
this .maxDelayBetweenPolls = maxDelayBetweenPolls ;
152
158
}
159
+
160
+ @ Nullable
161
+ public Boolean getAutoStartup () {
162
+ return autoStartup ;
163
+ }
153
164
165
+ public void setAutoStartup (Boolean autoStartup ) {
166
+ this .autoStartup = autoStartup ;
167
+ }
168
+
154
169
}
155
170
156
171
/**
@@ -298,7 +313,7 @@ public int getScheduledExecutorPoolSize() {
298
313
public void setScheduledExecutorPoolSize (int scheduledExecutorPoolSize ) {
299
314
this .scheduledExecutorPoolSize = scheduledExecutorPoolSize ;
300
315
}
301
-
316
+
302
317
}
303
318
304
319
}
You can’t perform that action at this time.
0 commit comments