Skip to content

Commit 30a2f18

Browse files
garyrussellartembilan
authored andcommitted
GH-2750: Deprecate container spec errorHandler
Resolves #3750 **5.5.x only; removed in 6.0**
1 parent bbc4e1e commit 30a2f18

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spring-integration-kafka/src/main/java/org/springframework/integration/kafka/dsl/KafkaMessageListenerContainerSpec.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,9 @@ public KafkaMessageListenerContainerSpec<K, V> concurrency(int concurrency) {
8787
* @param errorHandler the {@link org.springframework.kafka.listener.ErrorHandler}.
8888
* @return the spec.
8989
* @see org.springframework.kafka.listener.ErrorHandler
90+
* @deprecated - will be replaced in 6.0 with {@code CommonErrorHandler}.
9091
*/
92+
@Deprecated
9193
public KafkaMessageListenerContainerSpec<K, V> errorHandler(GenericErrorHandler<?> errorHandler) {
9294
this.target.setGenericErrorHandler(errorHandler);
9395
return this;

0 commit comments

Comments
 (0)