Skip to content

Commit 6d9edb4

Browse files
committed
fix: SqsContainerOptionsFactoryBean.setQueueStopTimeout
1 parent da6d926 commit 6d9edb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

int-aws/src/main/java/org/springframework/integration/aws/config/xml/SqsContainerOptionsFactoryBean.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public void setComponentsTaskExecutor(TaskExecutor taskExecutor) {
7171
}
7272

7373
public void setQueueStopTimeout(long millis) {
74-
setListenerShutdownTimeout(millis);
74+
builder.listenerShutdownTimeout(Duration.ofMillis(millis));
7575
}
7676

7777
public void setListenerShutdownTimeout(long seconds) {

0 commit comments

Comments
 (0)