GH-9863: Remove deprecated PollerMetadata.sendTimeout option
Issue link: https://github.com/spring-projects/spring-integration/issues/9863 The `PollerMetadata.sendTimeout` has been deprecated in previous versions in favor of `` * Remove `PollerMetadata.sendTimeout` and `PollerSpec.sendTimeout` in favor of `SourcePollingChannelAdapterSpec.sendTimeout`
This commit is contained in:
@@ -189,17 +189,6 @@ public final class PollerSpec extends IntegrationComponentSpec<PollerSpec, Polle
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* The timeout for blocking send on channels.
|
||||
* @param sendTimeout the timeout to use.
|
||||
* @return the spec.
|
||||
* @deprecated in favor of {@link SourcePollingChannelAdapterSpec#sendTimeout(long)}
|
||||
*/
|
||||
@Deprecated(forRemoval = true, since = "6.3.9")
|
||||
public PollerSpec sendTimeout(long sendTimeout) {
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Map<Object, String> getComponentsToRegister() {
|
||||
return this.componentsToRegister;
|
||||
|
||||
@@ -68,8 +68,6 @@ public class PollerMetadata {
|
||||
|
||||
private Executor taskExecutor;
|
||||
|
||||
private long sendTimeout;
|
||||
|
||||
private TransactionSynchronizationFactory transactionSynchronizationFactory;
|
||||
|
||||
public void setTransactionSynchronizationFactory(
|
||||
@@ -138,16 +136,6 @@ public class PollerMetadata {
|
||||
return this.taskExecutor;
|
||||
}
|
||||
|
||||
@Deprecated(forRemoval = true, since = "6.3.9")
|
||||
public long getSendTimeout() {
|
||||
return this.sendTimeout;
|
||||
}
|
||||
|
||||
@Deprecated(forRemoval = true, since = "6.3.9")
|
||||
public void setSendTimeout(long sendTimeout) {
|
||||
this.sendTimeout = sendTimeout;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the default {@link PollerMetadata} bean if available.
|
||||
* @param beanFactory BeanFactory for lookup, must not be null.
|
||||
|
||||
Reference in New Issue
Block a user