Skip to content

Commit 338d93a

Browse files
committed
Remove API deprecated in previous versions
1 parent cb275fc commit 338d93a

File tree

5 files changed

+0
-79
lines changed

5 files changed

+0
-79
lines changed

spring-integration-core/src/main/java/org/springframework/integration/aggregator/AbstractCorrelatingMessageHandler.java

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -968,18 +968,6 @@ private static boolean compareSequences(Message<?> msg1, Message<?> msg2) {
968968

969969
}
970970

971-
/**
972-
* Probably the method is {@code protected} by mistake.
973-
* @param elements the group processor result.
974-
* @deprecated without replacement - out of use from now on.
975-
*/
976-
@Deprecated(since = "6.5", forRemoval = true)
977-
protected void verifyResultCollectionConsistsOfMessages(Collection<?> elements) {
978-
Class<?> commonElementType = CollectionUtils.findCommonElementType(elements);
979-
Assert.isAssignable(Message.class, commonElementType, () ->
980-
"The expected collection of Messages contains non-Message element: " + commonElementType);
981-
}
982-
983971
private static boolean isResultCollectionOfMessages(Object result) {
984972
if (result instanceof Collection<?> resultCollection) {
985973
Class<?> commonElementType = CollectionUtils.findCommonElementType(resultCollection);

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

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -513,34 +513,6 @@ public B wireTap(WireTapSpec wireTapSpec) {
513513
return _this();
514514
}
515515

516-
/**
517-
* Populate the {@code Control Bus} EI Pattern specific {@link MessageHandler} implementation
518-
* at the current {@link IntegrationFlow} chain position.
519-
* @return the current {@link BaseIntegrationFlowDefinition}.
520-
* @since 6.4
521-
* @deprecated since 6.5 in favor of {@link #controlBus()}
522-
* @see ControlBusMessageProcessor
523-
*/
524-
@Deprecated(since = "6.5", forRemoval = true)
525-
public B controlBusOnRegistry() {
526-
return controlBus();
527-
}
528-
529-
/**
530-
* Populate the {@code Control Bus} EI Pattern specific {@link MessageHandler} implementation
531-
* at the current {@link IntegrationFlow} chain position.
532-
* @param endpointConfigurer the {@link Consumer} to accept integration endpoint options.
533-
* @return the current {@link BaseIntegrationFlowDefinition}.
534-
* @since 6.4
535-
* @deprecated since 6.5 in favor of {@link #controlBus(Consumer)}
536-
* @see GenericEndpointSpec
537-
* @see ControlBusMessageProcessor
538-
*/
539-
@Deprecated(since = "6.5", forRemoval = true)
540-
public B controlBusOnRegistry(@Nullable Consumer<GenericEndpointSpec<ServiceActivatingHandler>> endpointConfigurer) {
541-
return controlBus(endpointConfigurer);
542-
}
543-
544516
/**
545517
* Populate the {@code Control Bus} EI Pattern specific {@link MessageHandler} implementation
546518
* at the current {@link IntegrationFlow} chain position.

spring-integration-core/src/main/java/org/springframework/integration/util/CheckedCallable.java

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,4 @@ else if (t instanceof Error error) { // NOSONAR
5858
};
5959
}
6060

61-
/**
62-
* Wrap the {@link #call()} into unchecked {@link Callable}.
63-
* Re-throw its exception wrapped with a {@link IllegalStateException}.
64-
* @return the unchecked {@link Callable}.
65-
* @since 6.3.7
66-
* @deprecated since 6.5 in favor of {@link #unchecked()}.
67-
*/
68-
@Deprecated(since = "6.5", forRemoval = true)
69-
default Callable<T> uncheckedCallable() {
70-
return unchecked();
71-
}
72-
7361
}

spring-integration-core/src/main/kotlin/org/springframework/integration/dsl/KotlinIntegrationFlowDefinition.kt

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -280,16 +280,6 @@ class KotlinIntegrationFlowDefinition(@PublishedApi internal val delegate: Integ
280280
this.delegate.wireTap(wireTapSpec)
281281
}
282282

283-
/**
284-
* Populate the `Control Bus` EI Pattern specific [MessageHandler] implementation
285-
* at the current [IntegrationFlow] chain position.
286-
* @since 6.4
287-
*/
288-
@Deprecated("Use 'controlBus()' instead.", replaceWith = ReplaceWith("controlBus()"))
289-
fun controlBusOnRegistry(endpointConfigurer: GenericEndpointSpec<ServiceActivatingHandler>.() -> Unit = {}) {
290-
controlBus(endpointConfigurer)
291-
}
292-
293283
/**
294284
* Populate the `Control Bus` EI Pattern specific [MessageHandler] implementation
295285
* at the current [IntegrationFlow] chain position.

spring-integration-groovy/src/main/groovy/org/springframework/integration/groovy/dsl/GroovyIntegrationFlowDefinition.groovy

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -264,23 +264,6 @@ class GroovyIntegrationFlowDefinition {
264264
this
265265
}
266266

267-
/**
268-
* Populate the {@code Control Bus} EI Pattern specific {@link MessageHandler} implementation
269-
* at the current {@link IntegrationFlow} chain position.
270-
* @param endpointConfigurer the {@link Consumer} to accept integration endpoint options.
271-
* @since 6.4
272-
* @deprecated in favor of {@link #controlBus}
273-
*/
274-
@Deprecated(since = '6.5', forRemoval = true)
275-
@SuppressWarnings('removal')
276-
GroovyIntegrationFlowDefinition controlBusOnRegistry(
277-
@DelegatesTo(value = GenericEndpointSpec<ServiceActivatingHandler>, strategy = Closure.DELEGATE_FIRST)
278-
@ClosureParams(value = SimpleType.class, options = 'org.springframework.integration.dsl.GenericEndpointSpec')
279-
Closure<?> endpointConfigurer = null) {
280-
281-
controlBus endpointConfigurer
282-
}
283-
284267
/**
285268
* Populate the {@code Control Bus} EI Pattern specific {@link MessageHandler} implementation
286269
* at the current {@link IntegrationFlow} chain position.

0 commit comments

Comments
 (0)