Skip to content

Commit d54d556

Browse files
committed
GH-9863: Remove deprecated PollerMetadata.sendTimeout option
Issue link: #9863 The `PollerMetadata.sendTimeout` has been deprecated in previous versions in favor of `` * Remove `PollerMetadata.sendTimeout` and `PollerSpec.sendTimeout` in favor of `SourcePollingChannelAdapterSpec.sendTimeout`
1 parent 0af3b25 commit d54d556

File tree

2 files changed

+0
-23
lines changed

2 files changed

+0
-23
lines changed

spring-integration-core/src/main/java/org/springframework/integration/dsl/PollerSpec.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -189,17 +189,6 @@ public PollerSpec taskExecutor(Executor taskExecutor) {
189189
return this;
190190
}
191191

192-
/**
193-
* The timeout for blocking send on channels.
194-
* @param sendTimeout the timeout to use.
195-
* @return the spec.
196-
* @deprecated in favor of {@link SourcePollingChannelAdapterSpec#sendTimeout(long)}
197-
*/
198-
@Deprecated(forRemoval = true, since = "6.3.9")
199-
public PollerSpec sendTimeout(long sendTimeout) {
200-
return this;
201-
}
202-
203192
@Override
204193
public Map<Object, String> getComponentsToRegister() {
205194
return this.componentsToRegister;

spring-integration-core/src/main/java/org/springframework/integration/scheduling/PollerMetadata.java

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,6 @@ public class PollerMetadata {
6868

6969
private Executor taskExecutor;
7070

71-
private long sendTimeout;
72-
7371
private TransactionSynchronizationFactory transactionSynchronizationFactory;
7472

7573
public void setTransactionSynchronizationFactory(
@@ -138,16 +136,6 @@ public Executor getTaskExecutor() {
138136
return this.taskExecutor;
139137
}
140138

141-
@Deprecated(forRemoval = true, since = "6.3.9")
142-
public long getSendTimeout() {
143-
return this.sendTimeout;
144-
}
145-
146-
@Deprecated(forRemoval = true, since = "6.3.9")
147-
public void setSendTimeout(long sendTimeout) {
148-
this.sendTimeout = sendTimeout;
149-
}
150-
151139
/**
152140
* Return the default {@link PollerMetadata} bean if available.
153141
* @param beanFactory BeanFactory for lookup, must not be null.

0 commit comments

Comments
 (0)