Update documentation for ListenerContainerWithDlqAndRetryCustomizer

Based on suggestions in https://github.com/spring-cloud/spring-cloud-stream/issues/2313. Hope the edit helps.
This commit is contained in:
Sid Sam
2022-04-02 21:01:28 +05:30
committed by Soby Chacko
parent 5408935158
commit ad89acf62d

View File

@@ -872,8 +872,7 @@ default boolean retryAndDlqInBinding(String destinationName, String group) {
----
====
The destination resolver and `BackOff` are created from the binding properties (if configured).
You can then use these to create a custom error handler and dead letter publisher; for example:
The destination resolver and `BackOff` are created from the binding properties (if configured). The `KafkaTemplate` uses configuration from `spring.kafka....` properties. You can then use these to create a custom error handler and dead letter publisher; for example:
====
[source, java]