GH-2750: Deprecate container spec errorHandler
Resolves https://github.com/spring-projects/spring-integration/issues/3750 **5.5.x only; removed in 6.0**
This commit is contained in:
committed by
Artem Bilan
parent
bbc4e1e9c0
commit
30a2f18551
@@ -87,7 +87,9 @@ public class KafkaMessageListenerContainerSpec<K, V>
|
||||
* @param errorHandler the {@link org.springframework.kafka.listener.ErrorHandler}.
|
||||
* @return the spec.
|
||||
* @see org.springframework.kafka.listener.ErrorHandler
|
||||
* @deprecated - will be replaced in 6.0 with {@code CommonErrorHandler}.
|
||||
*/
|
||||
@Deprecated
|
||||
public KafkaMessageListenerContainerSpec<K, V> errorHandler(GenericErrorHandler<?> errorHandler) {
|
||||
this.target.setGenericErrorHandler(errorHandler);
|
||||
return this;
|
||||
|
||||
Reference in New Issue
Block a user